Jump to content


Search results page


1 reply to this topic

#1 villan

    Young Padawan

  • Members
  • Pip
  • 19 posts

Posted 29 June 2006 - 05:57 AM

Hi

I've posted a couple of post's now trying to find out how to get a little animation playing when information is being searched for in my database. Its hard to explain properly so ive found an example.

If you go to..........www.ebookers.co.uk............select your preffered language,......... and then when the main page comes up select to search for something, whether it be a flight or a hotel.

Then a animation of a balloon or a paper plane comes up with a slogan saying we are retrieving your results.

The site i would like to include this in is done in asp.net.

Does anybody no how this is acheived or how to go about it. Or could somebody point me in the right direction to somebody that would.

Thanks.

Villan.

#2 Lang

    Young Padawan

  • Members
  • Pip
  • 198 posts
  • Gender:Male
  • Location:Ontario, Canada

Posted 29 June 2006 - 10:07 AM

I believe this is done in several forum systems to prevent spam. You search for something and your results are saved in the database. Then when you go to view the results of the search it grabs the results that were then put in the table, and not running queries like mad.

So you'd have breaker page. This breaker page would do the search and grab the results. Then it would redirect you to a page to grab the results from the database. Your breaker page could have your pretty little animation.

Then about every 10 minutes a cron job deletes the results. That's how I would do it, i'm not sure about other forums - but thats how i'd go about it. Hope this helps.

Lang





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users