1// $Id: shadowbox_auto.js,v 1.1.2.3 2008/09/17 10:09:06 psynaptic Exp $ 2if (Drupal.jsEnabled) { 3 $(document).ready(function() { 4 var settings = Drupal.settings.shadowbox; 5 if (settings.auto_enable_all_images == 1) { 6 var images = 'a[href$=jpg][rel=""], a[href$=png][rel=""], a[href$=gif][rel=""], a[href$=jpeg][rel=""], a[href$=bmp][rel=""]'; 7 $(images).each(function() { 8 $(this).attr('rel', 'shadowbox'); 9 }); 10 }; 11 }); 12}
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.