NS2 Website should use css pre-loading for the main menu :hover classes

luappy13luappy13 Join Date: 2009-08-29 Member: 68642Members
edited August 2009 in Web Site Feedback
<div class="IPBDescription">suggestion for minor wodification to website code</div>Just noticed the menu doesnt use any :hover pre-cache for image resulting in blank hover while image is cached (to see what I mean press ctrl-f5 to purge your browser cache and reload then hover over the menu or any image that has hover behaviour)

to fix just add an empty span with css class using backgound image so that it is pre-loaded before the :hover occurs i.e.

<span class="preloader1"></span>

.preloader1
{
background-image: url('../images/upBtn76x53.png');
width: 0px;
height: 0px;
display: inline;
}

Comments

Sign In or Register to comment.