How to preload images for mouse rollover in the navbar?
3 posters
Page 1 of 1
How to preload images for mouse rollover in the navbar?
Hi,
I have a navbar consisting of images. I have added a nice rollover effect so the pictures change whenever someone hovers the mouse over the pictures. BUT, it lags. Is it possible to preload the hover images so that this lag disappears?
I have a navbar consisting of images. I have added a nice rollover effect so the pictures change whenever someone hovers the mouse over the pictures. BUT, it lags. Is it possible to preload the hover images so that this lag disappears?
Soulmonster- Forumember
- Posts : 228
Reputation : 2
Language : Norwegian
Re: How to preload images for mouse rollover in the navbar?
A technique used for just what you do. You can try to implement it. I am not sure how you added a rollover for a navbar.
http://www.webartzforum.com/t420-rollover-button-using-css
http://www.webartzforum.com/t420-rollover-button-using-css
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: How to preload images for mouse rollover in the navbar?
Maybe try loading the pictures in a hidden div like so:
- Code:
<div style="height:1px;width:1px;visibility:hidden;">
<img src=""> //multiple times
</div>
- Code:
<img src="" style="height:0;width:0;">
Mr_Waffle- New Member
- Posts : 24
Reputation : 0
Language : Dutch | HTML | CSS | JavaScript | jQuery | Java | MIPS ASM | Learning C#
Similar topics
» Invision navbar rollover
» Rollover navbar
» Rollover Navbar
» Navbar Rollover Image
» Creating rollover navbar...
» Rollover navbar
» Rollover Navbar
» Navbar Rollover Image
» Creating rollover navbar...
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum