Created
January 23, 2013 00:25
-
-
Save anonymous/4600386 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp_footer hook for Plugins --> | |
<link rel='stylesheet' id='contact-form-css' href='http://localhost/wp-content/plugins/contact-form/style.css?ver=3.5' type='text/css' media='all' /> | |
</footer> | |
<!--END: Footer Section--> | |
<!--Javascript Indicator--> | |
<div class="indicator" id="js-ind"><a href="http://www.mimoymima.com/help/turning-javascript-on-and-off/" title="You don't have javascript enabled, click here to learn more.">Enable Javascript</a></div> | |
<!--Javascript Indicator--> | |
<script type="text/javascript"> | |
/* Trophies */ | |
$('.trophylnk').hoverIntent({over: ShowIt,out: HideIt,timeout: 100}); | |
$('.trophies').mousemove( function(e) { | |
mouseX = e.clientX; | |
mouseY = e.clientY; | |
}); | |
$('.trophies').ajaxComplete(function(event,request, settings){ | |
$('.trophylnk').hoverIntent({over: ShowIt,out: HideIt,timeout: 100}); | |
$('.trophies').mousemove( function(e) { | |
mouseX = e.clientX; | |
mouseY = e.clientY; | |
}); | |
}); | |
function ShowIt(){ | |
var tWidth = Math.round((viewportWidth * 0.99) * 0.19); | |
$(this).find('.bottom-bg').css({'z-index': '100','top':mouseY,'left':mouseX}).fadeIn('fast'); | |
} | |
function HideIt(){ | |
$(this).find('.bottom-bg').css('z-index','0').fadeOut('fast'); | |
} | |
</script> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment