SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist priti's Avatar
    Join Date
    Aug 2006
    Location
    India
    Posts
    488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    progress meter??

    Hello

    I am trying to show wait image while your form is submitting.Like in lightbox.js till the image pop up it shows the progress bar and then show the zoomed image similarly i want to show the wait flash button(it moves round and round in) until my form is submitted.

    We can see these kinds of effects on number of site.Any guidance would be gr8ly appreciated.

    thanks & regards,
    Priti

  2. #2
    $books++ == true matsko's Avatar
    Join Date
    Sep 2004
    Location
    Toronto
    Posts
    795
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK here are some pointers.

    - Use mootools for animation: like litebox does (ex. fading loading animation to zoom box).

    http://www.mootools.net

    - Get an AJAX Loader

    http://www.napyfab.com/ajax-indicators/

    or make your own

    http://www.ajaxload.info/



    Then apply some simple JavaScript when the form is submitted.

    Code:
    <form onsubmit="do_loading(this)">
    
    </form>
    Now the JS

    Code:
    function do_loading(form_element)
    {
    //Show and hide loading effects
    }
    and there you go
    I can't believe I ate the whole thing


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •