1//document.ready 2 $(document).ready(function(){ 3 //å ±ç¨ js 4 5 //åå¥é é¢ js 6 switch(window.location.pathname.split('/').pop()){ 7 //é¦é 8 case '': 9 case 'index.aspx': 10 $(".play_icon").live("click", function(){ 11 var YoutubeId = $(this).parent().attr("data-youtube"); 12 var HH = $(this).parent().parent().height(); 13// $(this).parent().html('<iframe width="1360" height="' + HH + '" src="http://www.youtube.com/embed/' + YoutubeId + '?rel=0&autoplay=1&wmode=opaque" frameborder="0" allowfullscreen></iframe>'); 14 $(this).parent().find("img").css("visibility", "hidden"); 15 $(this).parent().prepend('<iframe width="1360" height="' + HH + '" src="http://www.youtube.com/embed/' + YoutubeId + '?rel=0&state=2&controls=0&showinfo=0&autohide=1&autoplay=1&wmode=opaque" frameborder="0" allowfullscreen></iframe>'); 16 index_autoSlide_toggle(); 17 }); 18 break; 19 //Story 20 case 'story.aspx': 21 $(".play_icon").live("click", function(){ 22 var YoutubeId = $(this).parent().attr("data-youtube"); 23 var HH = $(this).parent().parent().height(); 24 $(this).parent().find("img").css("visibility", "hidden"); 25 $(this).parent().prepend('<iframe width="1360" height="' + HH + '" src="http://www.youtube.com/embed/' + YoutubeId + '?rel=0&state=2&controls=0&showinfo=0&autohide=1&autoplay=1&wmode=opaque" frameborder="0" allowfullscreen></iframe>'); 26 }); 27 break; 28 //schedule 29 case 'schedule.aspx': 30 $('#icsurl').click(function(){ 31 $(this).select(); 32 }); 33 break; 34 } 35 }); 36//window.load 37 $(window).load(function(){ 38 39 }); 40//window.resize 41 $(window).resize(function(){ 42 43 }); 44//function zone 45 function openpopup(url){ 46 x = 0; 47 y = 0; 48 var x_screen = screen.Width; 49 var y_screen = screen.Height; 50 var wk_left = (x_screen-x) / 2; 51 var wk_top = (y_screen-y) / 2; 52 features = "Height=" + y + ",Width=" + x; 53 features += ",top=" + wk_top + ",left=" + wk_left; 54 features += ",status=yes,resizable=yes,scrollbars=yes,location=no,menubar=no"; 55 features += ",channelmode=no,directories=no,fullscreen=no,titlebar=no"; 56 StrPopup = window.open(url, 'popup', features); 57 }
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.