Forums

How to make the visitor feel like something is loading? (6 posts)

  1. claytrainor
    Member
    Posted 3 years ago #

    What i want to do is have a button that the visitor clicks, and it then begins a process which it,

    -shows a loading graphic, for a set amount of time (pretends its loading)
    -displays a message after the allotted time has elapsed, saying something like "your information has loaded" in place of the loading graphic.

    i hope i explained this properly. I used to complete the same objective in html with iframes and metarefresh, but iframes are buggy in wordpress.

    I was wondering if there is another, simpler wordpress solution for something like this?

  2. vachi
    Member
    Posted 3 years ago #

    wait what is this thats loading, you want the user to face a loading bar when what, they visit your site?
    or click a link?

  3. claytrainor
    Member
    Posted 3 years ago #

    more like when they click a link, or more specifically a button.

    most importantly i want to do it all in 1 simple smooth process. They click the button, a loading graphic appears for a couple seconds... the loading graphic then disappears and something like "your information has been found" is displayed to the visitor.

    Thanks for any help.

  4. vachi
    Member
    Posted 3 years ago #

    i really don't see a point for this, because your wordpress pages should be loading at such speeds that a person should not see a huge wait time not more than 3 secs for any page i think, and i don;t think there is a plugin or something "ready" that you can use,
    try this site they have a whole guide on using ajax loading bars
    http://www.codeproject.com/KB/aspnet/ASPNETAJAXPageLoader.aspx

    or
    http://www.silverspider.com/2005/php-progress-bar/
    or
    http://mattberseth.com/blog/2007/10/yui_style_ajax_progress_indica.html
    or
    http://www.online-tech-tips.com/cool-websites/ajax-progressbar/

  5. claytrainor
    Member
    Posted 3 years ago #

    Thanks for the suggestions, i'll look into those.

    I know there probably isnt a plugin for this, i was hoping it was just some simple code i perhaps didnt know.

    maybe to put my question even more simply.

    Is there a command that can make a picture, or text appear or disappear at the click of a button?

  6. claytrainor
    Member
    Posted 3 years ago #

    that online-tech-tips link might be just what im looking for, thanks vachi

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.