1function hefct() { 2 var scrollPosition = jQuery(window).scrollTop(); 3 jQuery('#header-image').css('top', (0 - (scrollPosition * 0.2)) + 'px'); 4} 5jQuery(document).ready(function() { 6 7 jQuery("time.entry-date").timeago(); 8 9 jQuery(document).ready(function() { 10 jQuery('.main-navigation .menu ul').superfish({ 11 delay: 700, // 1 second avoids dropdown from suddenly disappearing 12 animation: {opacity:'show',height:'hide'}, // fade-in and slide-down animation 13 speed: 'fast', // faster animation speed 14 autoArrows: false // disable generation of arrow mark-up 15 }); 16 }); 17 18 jQuery(window).bind('scroll', function() { 19 hefct(); 20 }); 21 22}); 23jQuery(window).load(function(){ 24 jQuery('#slider').nivoSlider({ 25 effect:'boxRainGrowReverse,boxRain,boxRainGrow', 26 pauseTime: 6000, 27 animSpeed: 500, 28 boxCols: 10, 29 boxRows: 6, 30 slices: 20, 31 beforeChange: function() { 32 jQuery('#slider .nivo-caption').animate({ 33 opacity: 0 34 },300,'linear'); 35 jQuery('#slider .nivo-caption div.slide-title').animate({ 36 marginLeft:'-100px', 37 opacity: 0 38 },300,'easeOutQuint'); 39 jQuery('#slider .nivo-caption div.slide-description').animate({ 40 marginLeft:'-50px', 41 opacity: 0 42 },400); 43 44 }, 45 afterChange: function() { 46 //jQuery('#slider img.nivo-main-image').transition({'transform': 'scale(2) !important',duration:3000}); 47 jQuery('#slider .nivo-caption').animate({ 48 opacity: 1 49 },800,'linear'); 50 jQuery('#slider .nivo-caption div.slide-title').css({ marginLeft:'-100px',opacity:0}); 51 jQuery('#slider .nivo-caption div.slide-title').animate({ 52 marginLeft: 0, 53 opacity: 1 54 },1200,'easeOutQuint'); 55 56 jQuery('#slider .nivo-caption div.slide-description').css({marginLeft:'-200px',opacity:0}); 57 jQuery('#slider .nivo-caption div.slide-description').animate({ 58 marginLeft:'20px', 59 opacity: 1 60 },1600,'easeInOutBack'); 61 jQuery('#slider img.nivo-main-image').width('110%'); 62 jQuery('#slider .slide img').animate({marginLeft:'100px'},3000) 63 64 } 65 66 67 }); 68 69 70 //Mobile Menu 71 jQuery('.menu-link').bigSlide({ 72 menu: '#menu', 73 easyClose: true, 74 side: 'left', 75 menuWidth: '19.5em', 76 }); 77});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.