1// lightbox initialize script --> 2$(function() { 3 $('a.lightbox').lightBox(); 4}); 5 6// ajax contact form --> 7$(document).ready(function(){ 8 $('#contact').ajaxForm(function(data) { 9 if (data==1){ 10 $('#success').fadeIn("slow"); 11 $('#bademail').fadeOut("slow"); 12 $('#badserver').fadeOut("slow"); 13 $('#contact').resetForm(); 14 } 15 else if (data==2){ 16 $('#badserver').fadeIn("slow"); 17 } 18 else if (data==3) 19 { 20 $('#bademail').fadeIn("slow"); 21 } 22 }); 23 }); 24// dropdown setup 25$(document).ready(function(){ 26 $("ul.sf-menu").superfish({ 27 delay: 200, // one second delay on mouseout 28 animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation 29 speed: 'fast', // faster animation speed 30 autoArrows: true, // disable generation of arrow mark-up 31 dropShadows: true // disable drop shadows 32 }); 33}); 34 35//sliding boxes 36 37$(document).ready(function(){ 38 //To switch directions up/down and left/right just place a "-" in front of the top/left attribute 39 //Vertical Sliding 40 $('.boxgrid.slidedown').hover(function(){ 41 $(".cover", this).stop().animate({top:'-260px'},{queue:false,duration:300}); 42 }, function() { 43 $(".cover", this).stop().animate({top:'0px'},{queue:false,duration:300}); 44 }); 45 //Horizontal Sliding 46 $('.boxgrid.slideright').hover(function(){ 47 $(".cover", this).stop().animate({left:'325px'},{queue:false,duration:300}); 48 }, function() { 49 $(".cover", this).stop().animate({left:'0px'},{queue:false,duration:300}); 50 }); 51 //Diagnal Sliding 52 $('.boxgrid.thecombo').hover(function(){ 53 $(".cover", this).stop().animate({top:'260px', left:'325px'},{queue:false,duration:300}); 54 }, function() { 55 $(".cover", this).stop().animate({top:'0px', left:'0px'},{queue:false,duration:300}); 56 }); 57 //Partial Sliding (Only show some of background) 58 $('.boxgrid.peek').hover(function(){ 59 $(".cover", this).stop().animate({top:'90px'},{queue:false,duration:160}); 60 }, function() { 61 $(".cover", this).stop().animate({top:'0px'},{queue:false,duration:160}); 62 }); 63 //Full Caption Sliding (Hidden to Visible) 64 $('.boxgrid.captionfull').hover(function(){ 65 $(".cover", this).stop().animate({top:'180px'},{queue:false,duration:160}); 66 }, function() { 67 $(".cover", this).stop().animate({top:'250px'},{queue:false,duration:160}); 68 }); 69 //Caption Sliding (Partially Hidden to Visible) 70 $('.boxgrid.caption').hover(function(){ 71 $(".cover", this).stop().animate({top:'180px'},{queue:false,duration:160}); 72 }, function() { 73 $(".cover", this).stop().animate({top:'250px'},{queue:false,duration:160}); 74 }); 75 });
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.