PageSourceSearch

https://justmyshop.com/js/menufnc.js

js justmyshop.com collected 2026-10-02 07:29:07 UTC 1,319 bytes, 68 lines download raw bytes

1// JavaScript Document
2var loaded = false;
3ie = (document.all)? true:false;
4ns = (document.layers)? true:false;
5ns6 = (document.getElementById)? true:false;
6
7function changeLdMode() {
8	loaded = true;
9	if(tid) {
10		clearTimeout(tid);
11	}
12}
13
14function getTargetObj(target) {
15	var targetObj;
16	if(ie) {
17		 targetObj = document.all[target].style;
18	} else if(ns) {
19		targetObj = document.layers[target];
20	} else if(ns6) {
21		targetObj = document.getElementById(target).style;
22	}
23	return (ie || ns || ns6)? targetObj:false;
24}
25
26var tid
27var selectedNo ='1'
28var hideSwich = 'false'
29
30function showMenu(No) {
31	if(loaded) {
32		ideSwich = 'true'
33		hideMenu();
34		layerName ='menu' + No;
35		selectedNo = No;
36		var obj = getTargetObj(layerName);
37		if(ns) obj.visibility='show';
38		else if(ie || ns6) obj.visibility='visible';
39	}
40}
41
42function hideMenu() {
43	layerName = 'menu' + selectedNo;
44	var obj = getTargetObj(layerName);
45	if(tid){ clearTimeout(tid); }
46	if (hideSwich == 'true') {
47		if(ns) obj.visibility = "hide";
48		else if(ie || ns6) obj.visibility='hidden';
49	 }
50}
51
52function menuCloseTimer(No) {
53	if(loaded) {
54		selectedNo = No;  
55		hideSwich = 'true'
56		if(tid){ clearTimeout(tid);}
57		tid=setTimeout('hideMenu();',100);
58	}
59}
60
61function swichOFF() {
62	hideSwich = 'false'
63}
64
65function change(obj, color) {
66	obj.style.backgroundColor=color;
67}
68

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.