The 'onload' function is currently supposed to be pre-loading the 'pressed button' graphics for the navigation bar (which it has correctly picked up from design | options | navigation).
However, there is a big delay in the 'mouseover' effect.
For example, I click on a page which loads almost instantly, it says 'done' in the status bar, yet for 5 seconds or so I can wave the mouse over the buttons and nothing happens (except the cursor changing shape). Then after 5 seconds or so the 'pressed button' effect kicks in and the 'pressed effect' works when the mouse is over it.
The same thing happens on page after page (you'd think the buttons would be cached after the first page) - load page, 5 seconds to work, load next page, another 5 seconds...etc
I have checked the onload line in the final code and it looks correct -
These graphics are the same names as in the mouseover code (I double checked) so what's the delay?
However, there is a big delay in the 'mouseover' effect.
For example, I click on a page which loads almost instantly, it says 'done' in the status bar, yet for 5 seconds or so I can wave the mouse over the buttons and nothing happens (except the cursor changing shape). Then after 5 seconds or so the 'pressed button' effect kicks in and the 'pressed effect' works when the mouse is over it.
The same thing happens on page after page (you'd think the buttons would be cached after the first page) - load page, 5 seconds to work, load next page, another 5 seconds...etc
I have checked the onload line in the final code and it looks correct -
Code:
<BODY OnLoad="PreloadImages('','','','crazy-daves-basket-button-2.gif','crazy-daves-checkout-button-2.gif','','crazy-daves-login-button-2.gif')">
Comment