Need to add hover intent?
Posted
by Bradley Bell
on Stack Overflow
See other posts from Stack Overflow
or by Bradley Bell
Published on 2010-05-13T01:04:09Z
Indexed on
2010/05/13
1:14 UTC
Read the original article
Hit count: 498
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.
© Stack Overflow or respective owner