1// JavaScript Document 2$(function () { 3 $('#spotlightSlider').cycle({ 4 cleartypeNoBg: true, 5 fx: 'fade', 6 speed: 'fast', 7 timeout: 8000, 8 pager: '#sliderNav', 9 after: function (currSlideElement, nextSlideElement, options, forwardFlag) { 10 var NavigationCode = ""; 11 var ShowSlide = $('#ShowSlide').html(); 12 if (ShowSlide != undefined) { 13 options.currSlide = Number(ShowSlide); 14 } 15 // for each slide item add a menu choice 16 for (Ct = 0; Ct < options.slideCount; Ct++) { 17 SlideNumber = Ct + 1; 18 if (Ct === options.currSlide) { 19 NavigationCode += "<li><a href=\"#spotlights\" onclick=\"$('#spotlightSlider').cycle(" + Ct + ")\" class=\"selected\">" + SlideNumber + "<span class=\"sliderSelected commonIco\"></span></a></li>"; 20 } 21 else { 22 NavigationCode += "<li><a href=\"#spotlights\" onclick=\"$('#spotlightSlider').cycle(" + Ct + ")\">" + SlideNumber + "</a></li>"; 23 } 24 } 25 26 // add the play/stop and pause/resume buttons 27 NavigationCode += 28 "<li>" + 29 "<a href=\"#spotlights\" class=\"ctrlimg\" onclick=\"$('#spotlightSlider').cycle('resume')\">" + 30 "<span class=\"sliderPlay commonIco iconOnly middle\">Play</span>" + 31 "</a>" + 32 "</li>" + 33 "<li>" + 34 "<a href=\"#spotlights\" class=\"ctrlimg\" onclick=\"$('#spotlightSlider').cycle('pause')\">" + 35 "<span class=\"sliderPause commonIco iconOnly middle\">Pause</span></a>" + 36 "</a>" + 37 "</li>"; 38 39 NavigationCode += "</ul>"; 40 41 NavCode = $(".spotlightHeader"); 42 $(NavCode).children("ul").html(NavigationCode); 43 } 44 }); 45});
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.