1 2// Cycle plugin config 3jQuery(document).ready(function($){ 4 var baseURL = $('input.base-url').val(); 5 var c1TransitionType = "fade"; 6 var c1Speed = 1000; 7 var c1Timeout = 5000; 8 var c1Sync = 1; 9 10 $.get(baseURL+"/wp-content/themes/u-design/sliders/cycle/cycle1/cycle1_params.php", function(theXML){ 11 $('settings',theXML).each(function(i){ 12 c1TransitionType = $(this).find("fx").text(); 13 c1Speed = parseInt($(this).find("speed").text()); 14 c1Timeout = parseInt($(this).find("timeout").text()); 15 c1Sync = parseInt($(this).find("sync").text()); 16 }); 17 18 /* homepage slider params */ 19 $('#c1-slider').cycle({ 20 fx: c1TransitionType, 21 speed: c1Speed, 22 timeout: c1Timeout, 23 sync: c1Sync, 24 randomizeEffects: 0, 25 prev: '#slider-prev', 26 next: '#slider-next', 27 pager: '#c1-nav' 28 }); 29 30 $('#c1-pauseButton').click(function() { 31 $('#c1-slider').cycle('pause'); 32 return false; 33 }); 34 35 $('#c1-resumeButton').click(function() { 36 $('#c1-slider').cycle('resume', true); 37 return false; 38 }); 39 40 }); 41}); 42
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.