Results 1 to 5 of 5

Thread: Script to display a message during search/loading

  1. #1
    Join Date
    Jun 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Script to display a message during search/loading

    I am looking for a script or sth else for this purpose:

    When I enter a search term in my sitesearch it takes a while till the results are pulled and the resultpage is loaded.
    During the time I would like to display a message like 'Please wait while your results are loaded ...'

    Can I do this with a small java script, on Submit or how would the solution look like?
    Thank you.

  2. #2
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    803
    Thanks
    86
    Thanked 2 Times in 2 Posts

    Default

    Your question is the same is I put a few days ago here:
    http://dynamicdrive.com/forums/showthread.php?t=30061

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,626
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Have a look at the following url

    http://developer.yahoo.com/yui/examp...l-loading.html

    In this case it will make a modal loading panel.

  4. #4
    Join Date
    Jun 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    to chechu:
    actually our questions are different.

    you need onload when opening a website (link or typed in browser) but i need onsubmit since my screen/message has to appear right after sending a script.

  5. #5
    Join Date
    Jun 2007
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    to codeexploiter: thanks, that is a start. but how do i get the new content out of the div container in a new browser?
    Last edited by martib; 03-06-2008 at 11:17 AM. Reason: edit

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
  •