1 2<!-- Tooltip --> 3 $(document).ready(function(){ 4 $('.poshytip').poshytip({ 5 className: 'tip-twitter', 6 showTimeout: 1, 7 alignTo: 'target', 8 alignX: 'center', 9 alignY:'bottom', 10 offsetY: 5, 11 allowTipHover: true, 12 }); 13 }); 14 15<!-- Responsive Menu --> 16 $(document).ready(function(){ 17 jQuery("#responsive-menu select").change(function() { 18 window.location = jQuery(this).find("option:selected").val(); 19 }); 20 }); 21<!-- Hook up the FlexSlider --> 22 $(document).ready(function(){ 23 $('.flexslider').flexslider({ 24 animation: "fade", //String: Select your animation type, "fade" or "slide" 25 slideDirection: "horizontal", //String: Select the sliding direction, "horizontal" or "vertical" 26 slideshow: true, //Boolean: Animate slider automatically 27 slideshowSpeed: 4000, //Integer: Set the speed of the slideshow cycling, in milliseconds 28 animationDuration: 8000, //Integer: Set the speed of animations, in milliseconds 29 directionNav: true, //Boolean: Create navigation for previous/next navigation? (true/false) 30 controlNav: true, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage 31 keyboardNav: true, //Boolean: Allow slider navigating via keyboard left/right keys 32 mousewheel: false, //Boolean: Allow slider navigating via mousewheel 33 prevText: "Previous", //String: Set the text for the "previous" directionNav item 34 nextText: "Next", //String: Set the text for the "next" directionNav item 35 pausePlay: false, //Boolean: Create pause/play dynamic element 36 randomize: false, //Boolean: Randomize slide order 37 slideToStart: 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide) 38 animationLoop: true, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end 39 pauseOnAction: true, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. 40 pauseOnHover: false, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering 41 start: function(){}, //Callback: function(slider) - Fires when the slider loads the first slide 42 before: function(){}, //Callback: function(slider) - Fires asynchronously with each slider animation 43 after: function(){}, //Callback: function(slider) - Fires after each slider animation completes 44 end: function(){} //Callback: function(slider) - Fires when the slider reaches the last slide (asynchronous) 45 46 47 }); 48 }); 49 50// Twitter 51 $(document).ready(function(){ 52 $(function(){ 53 $('#tweets').tweetable({username: 'anariel77', time: true, limit: 1, replies: true, position: 'append'}); 54 }); 55 }); 56 57// Activate the contactform 58 $(document).ready(function(){ 59 $(function(){ 60 $('#contact_form').submit(function(e){ 61 e.preventDefault(); 62 var form = $(this); 63 var post_url = form.attr('action'); 64 var post_data = form.serialize(); 65 $('#loader', form).html('<img src="images/loader.gif" /> Please Wait...'); 66 $.ajax({ 67 type: 'POST', 68 url: post_url, 69 data: post_data, 70 success: function(msg) { 71 $(form).fadeOut(500, function(){ 72 form.html(msg).fadeIn(); 73 }); 74 } 75 }); 76 }); 77 }); 78 }); 79// Activate the prettyPhoto 80 $(document).ready(function(){ 81 $("a[class^='prettyPhoto']").prettyPhoto(); 82 }); 83 84// Activate the MainMenu 85 86 $(document).ready(function(){ 87 $("ul.sf-menu").superfish(); 88 }); 89//########################################## 90 // Toggle box 91 //########################################## 92 $(document).ready(function(){ 93 $('.toggle-trigger').click(function() { 94 $(this).next().toggle('slow'); 95 $(this).toggleClass("active"); 96 return false; 97 }).next().hide(); 98 }); 99 100 101 102 103 104
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.