1// allg. JS-Funktionen 2// Stand: 2013-10-23 3 4var FU = FU || {}; 5 6FU.goToBoxUrl = function () { 7 8 $(".box_teaser").click( function () { 9 var box = $(this); 10 11 var boxUrl = box.data("teaser-url"), 12 boxLink = box.find(".box_teaser_link"); 13 14 if ( boxLink.attr("target") == "_blank" ) { 15 window.open(boxUrl, "_blank"); 16 } else { 17 window.location.href = boxUrl; 18 } 19 }); 20 21 $(".box_teaser").mouseenter( function () { 22 $(this).addClass("js"); 23 }); 24 25 $(".box_teaser").mouseleave( function () { 26 $(this).removeClass("js"); 27 }); 28} 29 30FU.hlistDropdown = function () { 31 if ( $(".hlistDropdown").length = 1 ) { 32 33 $(".hlist_dropdown > ul > li").each( function () { 34 var menuItemWidth = $(this).width(); 35 36 if ( menuItemWidth < 150 ) { 37 menuItemWidth = 150; 38 } 39 40 $(this).find("ul").css({"width": menuItemWidth}); 41 $(this).find("ul li").css({"width": menuItemWidth}); 42 }); 43 44 } 45} 46 47$(document).ready( function () { 48 49 FU.hlistDropdown(); 50 FU.goToBoxUrl(); 51 52});
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.