source: NonGTP/Xerces/xerces/doc/html/resources/script.js @ 358

Revision 358, 518 bytes checked in by bittner, 19 years ago (diff)

xerces added

Line 
1rolloverImagesOn=new Array();
2rolloverImagesOff=new Array();
3
4function rolloverOn(name) {
5  if(rolloverImagesOn[name]){
6    document.images[name].src=rolloverImagesOn[name].src;
7  }
8}
9
10function rolloverOff(name) {
11  if(rolloverImagesOff[name]){
12      document.images[name].src=rolloverImagesOff[name].src;
13  }
14}
15
16function rolloverLoad(name,on,off) {
17  rolloverImagesOn[name]=new Image();
18  rolloverImagesOn[name].src=on;
19  rolloverImagesOff[name]=new Image();
20  rolloverImagesOff[name].src=off;
21}
Note: See TracBrowser for help on using the repository browser.