1jQuery(document).ready(function() { 2 3 // attach highslide-CSS-class to linked images in a post 4 jQuery("a[href$='jpg'] img, a[href$='JPG'] img, a[href$='jpeg'] img, a[href$='JPEG'] img, a[href$='png'] img, a[href$='PNG'] img, a[href$='gif'] img, a[href$='GIF'] img").parent().addClass("highslide"); 5 6 // uncomment block below, to group images in slideshougroups (CSS-class "post" required in template) 7 //jQuery(".post").each(function(index) { 8 // jQuery(this).find("a.highslide").each(function() { 9 // this.onclick = function() { 10 // return hs.expand(this, { slideshowGroup: index }); 11 // } 12 // }); 13 //}); 14 15 // add comment slahes to the block below, to group images in slideshougroups 16 jQuery("a.highslide").each(function() { 17 this.onclick = function() { 18 return hs.expand(this); 19 } 20 }); 21 22});
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.