1// JavaScript Document 2 3$(function () { 4 $('div.boxLink').click(function () { 5 var boxLink = $(this).find('a'); 6 if (boxLink.attr('target') == '_blank') { 7 window.open(boxLink.attr("href")); 8 } 9 else window.location = boxLink.attr('href'); 10 return false; 11 }); 12 $('div.boxLink').hover(function () { 13 $(this).addClass('hover'); 14 }, function () { 15 $(this).removeClass('hover'); 16 }); 17}); 18 19$(function () { 20 $('div.boxLink2').click(function () { 21 var boxLink = $(this).find('a'); 22 if (boxLink.attr('target') == '_blank') { 23 window.open(boxLink.attr("href")); 24 } 25 else window.location = boxLink.attr('href'); 26 return false; 27 }); 28 $('div.boxLink2').hover(function () { 29 $(this).addClass('hover2'); 30 }, function () { 31 $(this).removeClass('hover2'); 32 }); 33});
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.