1$('document').ready(function() { 2 3 /* BEGIN: DO NOT CHANGE */ 4 if (Builder.getSelectedObject()) { 5 $$ = function(obj) { 6 return Builder.getSelectedObject().parent().find(obj); 7 } 8 } 9 else { 10 $$ = function(obj) { 11 return $("body").find(obj); 12 } 13 } 14 /* END: DO NOT CHANGE */ 15 16 17 $$("div.module[module='menu'] i.omw-HamburgerMenu").on("click", function() { 18 var obj = $(this).closest(".module").find("#omw-menu-panel-result"); 19 $(obj).css("opacity",0).show(); 20 resize();resize(); 21 TweenMax.to($(obj), .5, {opacity:1}); 22 23 }); 24 25 $$("div.module[module='menu'] i#close").on("click", function() { 26 $(this).closest(".module").find("#omw-menu-panel-result").fadeOut(); 27 28 }); 29 30 31 $$("div.module[module='menu'] i.omw-HamburgerMenu").on("mouseenter", function() { 32 //$(this).attr("originalColor",$(this).css("color")); 33 TweenMax.to($(this), .5, {color:$(this).attr("rollover"),scaleX:1.2, scaleY:1.2}); 34 35 36 }).on("mouseleave", function() { 37 TweenMax.to($(this), .5, {color:$(this).attr("originalColor"),scaleX:1, scaleY:1}); 38 }); 39 40 41 $$("div.module[module='menu'] #omw-menu-panel-result li a").on("mouseenter", function() { 42 TweenMax.to($(this), .5, {color:$(this).attr("rollover")}); 43 44 45 }).on("mouseleave", function() { 46 TweenMax.to($(this), .5, {color:$(this).attr("originalColor")}); 47 }); 48 49 50 function resize() { 51 var compHeight = $("ul.omw-plugin-menu-1").height(); 52 var windowHeight = $(window).height(); 53 54 var compWidth = $("ul.omw-plugin-menu-1").width(); 55 var windowWidth = $(window).width(); 56 57 $("ul.omw-plugin-menu-1").css({"position":"absolute","top": Math.ceil( (windowHeight / 2) -(compHeight / 2) ),"left": Math.ceil((windowWidth / 2) - (compWidth / 2 )) }) 58 } 59 60 $( window ).resize(function() { 61 resize(); 62 }); 63 resize(); 64 65});
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.