Created
October 26, 2012 22:51
-
-
Save jamiehs/3962024 to your computer and use it in GitHub Desktop.
Example of how to place extra custom JavaScript after the wp_footer and before the closing body tag
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
</div> | |
</div> | |
</div> | |
<!-- /Footer --> | |
<?php wp_footer(); ?> | |
<script type="text/javascript"> | |
jQuery(document).ready(function(){ | |
jQuery('.slidedeck-frame').bind('mouseenter', function(){ | |
jQuery('.slidedeck').slidedeck().pauseAutoPlay = true; | |
}); | |
jQuery('.slidedeck-frame').bind('mouseleave', function(){ | |
jQuery('.slidedeck').slidedeck().pauseAutoPlay = false; | |
}); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment