PageSourceSearch

https://stevenscreektrail.org/Scripts/mouseover.js

js stevenscreektrail.org collected 2026-10-02 10:19:26 UTC 1,406 bytes, 46 lines download raw bytes

1<!--
2//---------------------------Standard Image Replacement Code
3//Begins---------------------------------
4//A required Variable for the loadImages() function
5loadedImages = null
6/**
7 * loadImages() accepts a list of file names to load into cache.
8 * For each file name it creates a new image object and begins
9 * downloading the file into the browser's cache. 
10 **/
11function loadImages(){
12   var img
13   if (document.images){
14      if (!loadedImages) loadedImages = new Array()
15      for (var i=0; i < arguments.length; i++){
16         img = new Image()
17         img.src = arguments[i]
18         loadedImages[loadedImages.length] = img
19      }
20   }   
21}
22
23/**
24 * flip(imgName, imgSrc) sets the src attribute of a named
25 * image in the current document. The function must be passed
26 * two strings. The first is the name of the image in the document
27 * and the second is the source to set it to.
28 **/
29function flip(imgName, imgSrc){
30   if (document.images){
31      document[imgName].src = imgSrc
32   }
33}
34//Fix Netscape resize bug for mouseDown and mouseUp events.
35function fixNetscape4(){
36   NS4 = document.layers
37   NSVer = parseFloat(navigator.appVersion)
38   if (NSVer >= 5.0 || NSVer < 4.1) NS4 = false
39   function forceReload() {
40      location.reload()
41   }
42   if (NS4) onresize = forceReload
43}
44//---------------------------Standard Image Replacement Code
45//Ends-----------------------------------
46// -->  

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.