PageSourceSearch

https://wilderness-wales.co.uk/welsh-mountains/preloadmenuimages.js

js wilderness-wales.co.uk collected 2026-10-02 14:17:07 UTC 1,781 bytes, 76 lines download raw bytes

1/*
2   Milonic DHTML Menu Image Pre-loading Module preloadmenuimages.js version 1.3 June 27 2006
3   This module is only compatible with the Milonic DHTML Menu version 5.16 or higher
4
5   Copyright 2004 (c) Milonic Solutions Limited. All Rights Reserved.
6   This is a commercial software product, please visit http://www.milonic.com/ for more information.
7   
8   USE: This module does not need any parameters but needs to be placed after the menus have been built
9   
10   Version 1.2 added ability to load images and give control back to the menu at the same time, the system is now more thread like
11   
12   SYNTAX: <script language="JavaScript1.2" type="text/javascript" src="preloadmenuimages.js"></script> 
13*/
14
15_mIms=new Array();
16_mIms2=new Array();
17
18function _mPLF(i)
19{
20	try{
21	for(var x=0;x<_mIms.length;x++){
22		if(i==_mIms[x])return
23		x++
24	}
25	_mIms[_mIms.length]=i
26	}
27	catch (err){}
28}
29
30function mmPLIs(i,n){
31	try{
32	if(n){	
33		_mIms2[i]=new Image()
34		if(_mIms[i])_mIms2[i].src=_mIms[i]
35	}
36	
37	if(!_mIms2[i].complete){
38		_StO("mmPLIs("+(i)+",0)",5)
39		return
40	}
41	
42	if(i<_mIms.length)_StO("mmPLIs("+(i+1)+",1)",20)
43	}
44	catch (err){}
45}
46
47function mmenuPreLoadImages(){
48	try{
49	for(var x=0;x<_mi.length;x++){
50		var I=_mi[x]
51		if(I[24])_mPLF(I[24])
52		if(I[29])_mPLF(I[29])
53		if(I[32])_mPLF(I[32])
54		if(I[46])_mPLF(I[46])
55		if(I[47])_mPLF(I[47])
56		if(I[48])_mPLF(I[48])
57		if(I[56])_mPLF(I[56])
58		if(I[69])_mPLF(I[69])
59		if(I[71])_mPLF(I[71])
60		if(I[73])_mPLF(I[73])
61		if(I[79])_mPLF(I[79])
62		if(I[82])_mPLF(I[82])
63		if(I[83])_mPLF(I[83])
64		if(I[85])_mPLF(I[85])
65		if(I[88])_mPLF(I[88])
66		if(I[90])_mPLF(I[90])
67		if(I[91])_mPLF(I[91])
68		if(I[92])_mPLF(I[92])
69		
70	}
71	mmPLIs(0,1)
72	}
73	catch (err){}
74}
75
76mmenuPreLoadImages()

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.