Paul Novitski wrote:
> 2) Preload the hover-state images by marking them up on the page in a
> way that doesn't show -- such as shifting them off-screen with a
> large negative margin-left in CSS.  By the time the page finishes
> loading, they will already be in cache and will appear
> immediately.  One small disadvantage here is that your page might
> contain semantically unnecessary markup to support these image
> preloader elements.
>
> 3) Preload the hover-state images with javascript.  Disadvantages are
> the additional clutter of the script itself and the fact that
> preloading won't happen when scripting is disabled.

4) Use CSS:
a:link,a:visited {background:url(up_image.gif) no-repeat 0
50%;background-image:url(down_image.gif)}
a:hover,a:active,a:focus {background-image:url(up_image.gif)}

---
Regards,
Thierry | www.TJKDesign.com



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to