home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 6 A / CHIP_HITWARE6_A.iso / internet / beams / splash12.exe / data1.cab / Plugins / _Imaging / Rollovers / setup < prev   
Encoding:
INI File  |  1998-12-18  |  413 b   |  24 lines

  1. [Head Block]
  2. theimage = new Preload();
  3. function Preload(up, dn)
  4. {
  5.     this.up = new Image();
  6.     this.up.src = up;
  7.     this.dn = new Image();
  8.     this.dn.src = dn;
  9. }
  10.  
  11. function up(pointer)
  12. {
  13.     image = document[pointer]
  14.     name = image.name;
  15.     document[name].src = theimage[name].up.src;
  16. }
  17.  
  18. function dn(pointer)
  19. {
  20.     image = document[pointer]
  21.     name = image.name;
  22.     document[name].src = theimage[name].dn.src;
  23. }
  24.