Quantcast
Channel: Web Site Feedback — Unknown Worlds Forums
Viewing all articles
Browse latest Browse all 172

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

$
0
0
suggestion for minor wodification to website code
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;
}

Viewing all articles
Browse latest Browse all 172

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>