1 2 3Drupal.behaviors.mainnav = {}; 4Drupal.behaviors.mainnav.attach = function(context) { 5 6 var $ = jQuery; 7 8 // Office 9 $('#block-views-mainnav-block li.views-row-1', context).mouseenter(function() { 10 11 $('#block-views-mainnav-block li.views-row-1 .hover').animate({"top": "-312px"}, "normal"); 12 // alert('mouseover'); 13 14 }); 15 16 $('#block-views-mainnav-block li.views-row-1', context).mouseleave(function() { 17 18 $('#block-views-mainnav-block li.views-row-1 .hover').animate({"top": "-632px"}, "fast"); 19 // alert('mouseover'); 20 21 }); 22 23 $('#block-views-mainnav-block li.views-row-1 .hover').click(function() { 24 window.location.href="/en/produkte/bueroraeume"; 25 }); 26 27 // Storage 28 $('#block-views-mainnav-block li.views-row-2', context).mouseenter(function() { 29 30 $('#block-views-mainnav-block li.views-row-2 .hover').animate({"top": "-312px"}, "normal"); 31 // alert('mouseover'); 32 33 }); 34 35 $('#block-views-mainnav-block li.views-row-2', context).mouseleave(function() { 36 37 $('#block-views-mainnav-block li.views-row-2 .hover').animate({"top": "-632px"}, "fast"); 38 // alert('mouseover'); 39 40 }); 41 42 $('#block-views-mainnav-block li.views-row-2 .hover').click(function() { 43 window.location.href="/en/produkte/lagerflaechen"; 44 }); 45 46 // Production 47 $('#block-views-mainnav-block li.views-row-3', context).mouseenter(function() { 48 49 $('#block-views-mainnav-block li.views-row-3 .hover').animate({"top": "-312px"}, "normal"); 50 // alert('mouseover'); 51 52 }); 53 54 $('#block-views-mainnav-block li.views-row-3', context).mouseleave(function() { 55 56 $('#block-views-mainnav-block li.views-row-3 .hover').animate({"top": "-632px"}, "fast"); 57 // alert('mouseover'); 58 59 }); 60 61 $('#block-views-mainnav-block li.views-row-3 .hover').click(function() { 62 window.location.href="/en/produkte/produktion-werkstatt"; 63 }); 64 65 // Production 66 $('#block-views-mainnav-block li.views-row-4', context).mouseenter(function() { 67 68 $('#block-views-mainnav-block li.views-row-4 .hover').animate({"top": "-312px"}, "normal"); 69 // alert('mouseover'); 70 71 }); 72 73 $('#block-views-mainnav-block li.views-row-4', context).mouseleave(function() { 74 75 $('#block-views-mainnav-block li.views-row-4 .hover').animate({"top": "-632px"}, "fast"); 76 // alert('mouseover'); 77 78 }); 79 80 $('#block-views-mainnav-block li.views-row-4 .hover').click(function() { 81 window.location.href="/en/produkte/konferenzzentren"; 82 }); 83 84 // Production 85 $('#block-views-mainnav-block li.views-row-5', context).mouseenter(function() { 86 87 $('#block-views-mainnav-block li.views-row-5 .hover').animate({"top": "-312px"}, "normal"); 88 // alert('mouseover'); 89 90 }); 91 92 $('#block-views-mainnav-block li.views-row-5', context).mouseleave(function() { 93 94 $('#block-views-mainnav-block li.views-row-5 .hover').animate({"top": "-632px"}, "fast"); 95 // alert('mouseover'); 96 97 }); 98 99 $('#block-views-mainnav-block li.views-row-5 .hover').click(function() { 100 window.location.href="/en/services"; 101 }); 102 103 // Production 104 $('#block-views-mainnav-block li.views-row-6', context).mouseenter(function() { 105 106 $('#block-views-mainnav-block li.views-row-6 .hover').animate({"top": "-312px"}, "normal"); 107 // alert('mouseover'); 108 109 }); 110 111 $('#block-views-mainnav-block li.views-row-6', context).mouseleave(function() { 112 113 $('#block-views-mainnav-block li.views-row-6 .hover').animate({"top": "-632px"}, "fast"); 114 // alert('mouseover'); 115 116 }); 117 118 119 $('#block-views-mainnav-block li.views-row-6 .hover').click(function() { 120 window.location.href="/en/business-parks"; 121 }); 122 123}
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.