Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 08-12-05
mattylamb's Avatar
Self taught incompetent
 
Join Date: Nov 2004
Location: North East UK
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
mattylamb is an unknown quantity at this point
  animated please wait message

on my DVD price comparison site there is sometimes a wait from someone searching to them getting the results.

I'd like to display a please wait message while the results are being collected, preferably an animated gif of some sort.

anyone know of an easy way to do this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-12-05
pricethat's Avatar
data muncher
 
Join Date: Sep 2004
Location: Berlin
Posts: 2,485
Thanks: 0
Thanked 0 Times in 0 Posts
pricethat is an unknown quantity at this point
  just a thought

Im not sure about the animated please wait but that kind of wait for pricing information is quite long? are your database records indexed properly?

Was just a thought that if the database was indexed properly with a proper structure you really wouldnt need to have this wait message?

How many records are you talking about 250,000?

"edit..... It seems the server must of been slow when i posted this, its a lot faster now:::OOPS"
__________________
Nothing to see here...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-12-05
mattylamb's Avatar
Self taught incompetent
 
Join Date: Nov 2004
Location: North East UK
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
mattylamb is an unknown quantity at this point
the problem is that the feed is held on another sites servers. my script calls a function on the partner sites server and brings back the results - the database therefore isnt local so the delay is down to that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-12-05
eskimo's Avatar
Registered User
 
Join Date: Aug 2003
Posts: 659
Thanks: 0
Thanked 0 Times in 0 Posts
eskimo is an unknown quantity at this point
You could try some javascipt in the bodytag, something along the lines of onload = hide layer.

An alternative workaround could be to place a background image of the animated gif, which would be covered when the contents load.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #5 (permalink)  
Old 08-12-05
Art's Avatar
Art Art is offline
Affiliate / Merchant
 
Join Date: Jul 2005
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Art is an unknown quantity at this point
There are many javascripts in the net that you can use.
These two for example:
http://www.dynamicdrive.com/dynamici...loadimage2.htm ,

http://www.dynamicdrive.com/dynamici...eloadimage.htm .
Hope this will be of use.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-12-05
Swiss's Avatar
memoryfinder.co.uk
 
Join Date: Jun 2005
Location: Wiltshire, UK
Posts: 343
Thanks: 0
Thanked 0 Times in 0 Posts
Swiss is an unknown quantity at this point
Why dont you keep a copy of the data in a local database and update it daily? Response times would be a lot quicker.
__________________
Kris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-12-05
mattylamb's Avatar
Self taught incompetent
 
Join Date: Nov 2004
Location: North East UK
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
mattylamb is an unknown quantity at this point
thanks for al the reply's. I'l have a look into the options tomorrow

Swiss, yes that would be the best option, but I'm not sure if it can be done with this setup - I'll have to ask medifusion, who provide the feed if that's possible.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #8 (permalink)  
Old 09-12-05
drivetowin's Avatar
Driving to win
 
Join Date: Aug 2003
Location: If I'm not at home, I'm in hospital
Posts: 7,363
Thanks: 5
Thanked 8 Times in 5 Posts
drivetowin seems to know their stuff
Just curious why you think your site is slow - assuming its the one in your signature I've just been to it and when I click on a dvd title the prices appear pretty well instantly for me - I'd say less than two seconds and I dont think you're going to get much quicker than that.
__________________
Never argue with idiots. They just drag you down to their level and then beat you with their experience.

If ignorance is bliss then some of the people I know must be orgasmic.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 09-12-05
BFG 9000's Avatar
Coffee Drinker
 
Join Date: Jul 2005
Location: South UK
Posts: 243
Thanks: 9
Thanked 9 Times in 8 Posts
BFG 9000 is an unknown quantity at this point
Hi Matty,

I asked them the same thing a while ago, & they didn't fancy it.
If you need it as well, maybe they'll give it a go.....

Although it's entirely possible that they themselves are loading (some of the) the prices via live xml when we make the requests, so it wouldn't be possible.

With regard to your original question, that's also something I've been looking at.
What I've been trying to do, is float a <div> over the page which shows "Loading Results......" or some such, then you have a javascript function which sets the visibility of that <div> to hidden.
Call the function from <body onload=hidediv>.
....At least that's the theory, I can't quite get it working yet.


TTFN

BFG
__________________
SELECT * FROM MANAGEMENT WHERE CLUE > 0; NO RESULTS FOUND
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 09-12-05
BFG 9000's Avatar
Coffee Drinker
 
Join Date: Jul 2005
Location: South UK
Posts: 243
Thanks: 9
Thanked 9 Times in 8 Posts
BFG 9000 is an unknown quantity at this point
Quote:
Originally Posted by kbudden
Just curious why you think your site is slow - assuming its the one in your signature I've just been to it and when I click on a dvd title the prices appear pretty well instantly for me - I'd say less than two seconds and I dont think you're going to get much quicker than that.
If you do a search & then choose a fairly obscure result you'll see the problem.
I guess the delay is when you request data for something that was cached longer ago than the timeout of the cache.


TTFN

BFG
__________________
SELECT * FROM MANAGEMENT WHERE CLUE > 0; NO RESULTS FOUND
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #11 (permalink)  
Old 09-12-05
eskimo's Avatar
Registered User
 
Join Date: Aug 2003
Posts: 659
Thanks: 0
Thanked 0 Times in 0 Posts
eskimo is an unknown quantity at this point
I have done a dissapearing loading logo on a previous site using dreameaver. I've sent a pm with the url in it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 09-12-05