PageSourceSearch

https://mora.jp/mb/js/droppy_m.js

js mora.jp collected 2026-09-24 09:04:27 UTC 1,188 bytes, 1 lines download raw bytes

1$.fn.droppy_m=function(onClass){var root=this;root.myTimer=null;var onClass=onClass||"";$("li",this).each(function(){if($("ul",this).length>0){$(this).on("click",{root:root},showSub)}});function showSub(e){e.stopPropagation();var root=e.data.root;clearTimeout(root.myTimer);var subMenu=$("ul",this).get(0);if($(subMenu).css("display")=="block"){hideSub()}else{if(onClass!=""){$("li a",root).removeClass(onClass);$(">a",this).addClass(onClass)}$("ul",root).css("display","none");$(subMenu).css("display","block");var target=$(subMenu).parent().get(0);while($(target).attr("id")!=$(root).attr("id")){if(target.tagName=="UL"){$(target).css("display","block")}target=$(target).parent().get(0)}root.myTimer=setTimeout(hideSub,5000)}}function hideSub(){if(onClass!="")$("li a",root).removeClass(onClass);$("ul",root).css("display","none")}var TOUCH_START=('ontouchstart'in window)?'touchstart':'mousedown';document.addEventListener(TOUCH_START,function(e){var flg=true;var target=e.target;while(true){if(typeof(target)=="undefined")break;if(target.nodeType==1){if(target.tagName=="BODY")break;if(target.tagName=="NAV"){flg=false;break}}target=$(target).parent().get(0)}if(flg)hideSub()},false)}

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.