1// JavaScript Document 2$(function() { 3 $(".mod_thumlist").each(function() { 4 var click_flg = false; 5 var photoH = $(this).find(".mod_thumlist_photo_entry img").innerHeight(); 6 var captionH = $(this).find(".mod_thumlist_photo_entry p").innerHeight(); 7 $(this).find(".mod_thumlist_photo").css("height", photoH + captionH + "px"); 8 var linkbtn = $(this).find("ul li a"); 9 var bigimgwrap = $(this).find(".mod_thumlist_photo"); 10 $(linkbtn).click(function() { 11 if (click_flg == false) { 12 click_flg = true; 13 $(bigimgwrap).prepend("<div class=\"mod_thumlist_photo_entry\"><img src='" + $(this).attr("href") + "' alt='" + $(this).attr("title") + "'><p>" + $(this).attr("title") + "</p>"); 14 var removeimg = $(bigimgwrap).find(".mod_thumlist_photo_entry:eq(1)"); 15 $(removeimg).stop(true, false).fadeOut("fast", function() { 16 $(this).remove(); 17 click_flg = false; 18 }); 19 click_flg = false; 20 return false; 21 } else { 22 return false; 23 } 24 }); 25 }); 26});
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.