<div class="front_hover">
<img class="bg_img" src="image.jpg" width="320px" height="400px"/>
<div class="front_roll" style="display:none;">
<!-- CONTENT HERE -->
</div>
</div>
<script language="JavaScript" type="text/javascript">
jQuery(document).ready(function(){
jQuery(".front_hover").hover(
function () {
jQuery(".front_roll", this).fadeIn(200);
},
function () {
jQuery(".front_roll", this).fadeOut(200);
});
});
</script>
Recently, I encountered an issue on my website where a jQuery function that displays content upon hovering stopped working in Chrome. Surprisingly, it still functions correctly on all other browsers.
You can view the live site at globalgeneration.co.uk