View Full Version : Rollovers
phill_ridout
09-14-2007, 06:50 PM
Theres two methods (which i can think of) Javascript, and CSS what are the advantages and dis advantages of each?
Does Css preload images? how would i reserve the space so that the background would show?
SouthwaterDave
09-15-2007, 07:12 PM
A user can switch JavaScript off in his browser, but he cannot switch CSS off.
CSS does not preload images but you can get a similar effect. An image could contain 3 "sections" but the CSS could ensure only one part normally shows, and another part shows, for instance, for a rollover, and yet another part for a button click.
phill_ridout
09-15-2007, 08:08 PM
Thats a real cool idea! Sweet!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.