PageSourceSearch

https://www.kadonobou.com/common/kadonobo/js/smartRollover.js

js kadonobou.com collected 2026-10-05 00:46:20 UTC 653 bytes, 24 lines download raw bytes

1function smartRollover() {
2	if(document.getElementsByTagName) {
3		var images = document.getElementsByTagName("img");
4
5		for(var i=0; i < images.length; i++) {
6			if(images[i].getAttribute("src").match("_off."))
7			{
8				images[i].onmouseover = function() {
9					this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
10				}
11				images[i].onmouseout = function() {
12					this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));
13				}
14			}
15		}
16	}
17}
18
19if(window.addEventListener) {
20	window.addEventListener("load", smartRollover, false);
21}
22else if(window.attachEvent) {
23	window.attachEvent("onload", smartRollover);
24}

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.