Need to add hover intent?
- by Bradley Bell
Hi all, I'm really stuck.
Basically i'm totally new to jquery, but need to add some kind of timer on mousover so that the page doesn't get messed up if the mouse goes all over the page.
here's my script..
anyway i can easily implement it?
<script>
jQuery('cc').mouseover(function () {
$("squareleft3").hide();
$("twitter").hide();
$("facebook").hide();
$("squareright").hide();
$("getintouch").hide();
$("getintouch2").hide();
$("getintouch3").hide();
$("vicarimage").hide();
$("squaredown2").hide();
$("squareleft2").hide();
$("one").hide();
$("whatis").hide();
$("squaredown").hide();
$("whoweare").hide();
if ($("whoweare:first").is(":hidden"))
if ($("squaredown:first").is(":hidden"))
if ($("squareleft3:first").is(":hidden")) {
if ($("twitter:first").is(":hidden"))
if ($("squareright:first").is(":hidden"))
if ($("getintouch:first").is(":hidden"))
if ($("getintouch2:first").is(":hidden"))
if ($("getintouch3:first").is(":hidden"))
if ($("vicarimage:first").is(":hidden"))
if ($("squaredown2:first").is(":hidden"))
if ($("squareleft2:first").is(":hidden"))
if ($("one:first").is(":hidden"))
if ($("whatis:first").is(":hidden"))
jQuery('getinvolved').fadeIn();
jQuery('squareleft').slideToggleWidth();
} else {
$("squareleft").hide();
$("getinvolved").hide();
} } );
</script>
Cheers.