![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
I got an error when I originally posted Sure you did. We all know you just like to see your name in print. ![]() |
#22
| |||
| |||
|
|
While sitting in a puddle Jim Roberts scribbled in the mud: It takes some time for the rollover image to load when you hover. A good technique for css rollovers is to combine the image and it's corresponding rollover into one image. example: http://members.aol.com/jrzycrim01/demo.html I took the two images of the m100c and stacked them on top of run another to make on image. When a user hovers over the image, the background position is shifted to make the lower half of the image appear. a#m100c { background-image:url("m100c.jpg") } a#m100c:hover { background-position: 0px -160px; } |
|
It requires no preloading since there is only on image. It's a bit faster to change the position instead of loading another image. Hope this helps... |
|
Hey, that's cool & best of all no js crap. |
#23
| |||
| |||
|
|
It's a neat solution and so far I can't see any major drawbacks - there's the issue of larger downloads but I guess spiders don't download images and people will run their mouse over the links anyway. For small images, it's not a problem. the one image twice the size is going |
|
It requires no preloading since there is only one image. It's a bit faster to change the position instead of loading another image. Hope this helps... thanks - I'll have a play later. Hey, that's cool & best of all no js crap. cool - definately, it keeps all references to the image name in the same place. now I just have to make sure it's useful ;o) |
|
as for the js variety - I've seen them before and dismissed them as useless gimmicks. Was I wrong? Running a preload script seems to create as many issues as it solves. |
#24
| |||
| |||
|
|
as for the js variety - I've seen them before and dismissed them as useless gimmicks. Was I wrong? Running a preload script seems to create as many issues as it solves. |
#25
| |||
| |||
|
|
people will run their mouse over the links anyway. |
)
#26
| |||
| |||
|
|
I love that technique. I forgot were I found it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |