Created
March 29, 2012 03:13
-
-
Save billrobbins/2232869 to your computer and use it in GitHub Desktop.
Javascript Start
This file contains hidden or 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
| <script type="text/javascript"> | |
| var $j = jQuery.noConflict(); | |
| // home page slider | |
| $j(window).load(function() { | |
| $j('#slider').nivoSlider({ | |
| effect:'fade', //Specify sets like: 'fold,fade,sliceDown' | |
| slices:1, | |
| animSpeed:500, //Slide transition speed | |
| pauseTime:4000, | |
| directionNav:false //Next & Prev | |
| }); | |
| }); | |
| // superfish | |
| $j(function(){ | |
| $j('ul.menu').superfish(); | |
| }); | |
| // featured post cover and reveal | |
| $j(document).ready(function(){ | |
| $j('.boxgrid.captionfull').hover(function(){ | |
| $j(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160}); | |
| }, function() { | |
| $j(".cover", this).stop().animate({top:'178px'},{queue:false,duration:160}); | |
| }); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment