1// JavaScript Document 2 3 4function slideSwitch() { 5 var $active = $('#slideshow DIV.active'); 6 7 if ( $active.length == 0 ) $active = $('#slideshow DIV:last'); 8 9 10 var $next = $active.next().length ? $active.next() 11 : $('#slideshow DIV:first'); 12 13 14 $active.addClass('last-active'); 15 16 $next.css({opacity: 0.0}) 17 .addClass('active') 18 .animate({opacity: 1.0}, 1000, function() { 19 $active.removeClass('active last-active'); 20 }); 21} 22 23$(function() { 24 setInterval( "slideSwitch()", 3000 ); 25}); 26 27function box_animate(px) { 28 $('#drop_box').animate({ 29 'top' : px 30 }); 31 if(px=='+=195px') {px='-=195px';} else {px='+=195px';} 32 document.getElementById('click').onclick = function() {box_animate(px)}; 33} 34 35function pausecomp(millis) 36{ 37var date = new Date(); 38var curDate = null; 39 40do { curDate = new Date(); } 41while(curDate-date < millis); 42} 43 44
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.