home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 March / Chip_2000-03_cd.bin / tema / Areca / karino / mouseover.js < prev   
Text File  |  1998-01-28  |  6KB  |  104 lines

  1. <!--    
  2.  
  3. /*  IF THIS CODE/TEXT IS SHOWING THEN YOUR SERVER IS NOT UPDATED
  4.     TO SUPPORT JS FILES.  GO TO MY PAGE AGAIN AND VIEW THE HELP SECTION
  5.     FOR THE ONMOUSEOVER CHANGER CREATOR
  6.     Please leave this message:
  7.     Written by Neil McCorrison, http://neil.simplenet.com
  8.     For other JavaScripts visit http://neil.simplenet.com/javascript 
  9.     Version 1.4 */
  10. candoit = (document.images);
  11.  
  12.              if (candoit) {
  13. image1original = new Image(); image1original.src = original1;
  14.           image1overit   = new Image();   image1overit.src = overit1;
  15.           image1clicked  = new Image();  image1clicked.src = clicked1;
  16.    if (numofimages > 1) {               
  17.           image2original = new Image(); image2original.src = original2;
  18.               image2overit   = new Image();   image2overit.src = overit2;
  19.           image2clicked  = new Image();  image2clicked.src = clicked2; 
  20.    if (numofimages > 2) {          
  21.           image3original = new Image(); image3original.src = original3;
  22.               image3overit   = new Image();   image3overit.src = overit3;
  23.           image3clicked  = new Image();  image3clicked.src = clicked3; 
  24.    if (numofimages > 3) {
  25.           image4original = new Image(); image4original.src = original4;
  26.               image4overit   = new Image();   image4overit.src = overit4;
  27.           image4clicked  = new Image();  image4clicked.src = clicked4; 
  28.    if (numofimages > 4) {
  29.           image5original = new Image(); image5original.src = original5;
  30.               image5overit   = new Image();   image5overit.src = overit5;
  31.           image5clicked  = new Image();  image5clicked.src = clicked5; 
  32.    if (numofimages > 5) {
  33.           image6original = new Image(); image6original.src = original6;
  34.               image6overit   = new Image();   image6overit.src = overit6;
  35.           image6clicked  = new Image();  image6clicked.src = clicked6; 
  36.    if (numofimages > 6) {
  37.           image7original = new Image(); image7original.src = original7;
  38.               image7overit   = new Image();   image7overit.src = overit7;
  39.           image7clicked  = new Image();  image7clicked.src = clicked7; 
  40.    if (numofimages > 7) {
  41.           image8original = new Image(); image8original.src = original8;
  42.               image8overit   = new Image();   image8overit.src = overit8;
  43.           image8clicked  = new Image();  image8clicked.src = clicked8; 
  44.    if (numofimages > 8) {
  45.           image9original = new Image(); image9original.src = original9;
  46.               image9overit   = new Image();   image9overit.src = overit9;
  47.           image9clicked  = new Image();  image9clicked.src = clicked9;         
  48.    if (numofimages > 9) {
  49.           image10original = new Image(); image10original.src = original10;
  50.               image10overit   = new Image();   image10overit.src = overit10;
  51.           image10clicked  = new Image();  image10clicked.src = clicked10;         
  52.    if (numofimages > 10) {
  53.           image11original = new Image(); image11original.src = original11;
  54.               image11overit   = new Image();   image11overit.src = overit11;
  55.           image11clicked  = new Image();  image11clicked.src = clicked11;         
  56.    if (numofimages > 11) {
  57.           image12original = new Image(); image12original.src = original12;
  58.               image12overit   = new Image();   image12overit.src = overit12;
  59.           image12clicked  = new Image();  image12clicked.src = clicked12;         
  60.    if (numofimages > 12) {
  61.           image13original = new Image(); image13original.src = original13;
  62.               image13overit   = new Image();   image13overit.src = overit13;
  63.           image13clicked  = new Image();  image13clicked.src = clicked13;         
  64.    if (numofimages > 13) {
  65.           image14original = new Image(); image14original.src = original14;
  66.               image14overit   = new Image();   image14overit.src = overit14;
  67.           image14clicked  = new Image();  image14clicked.src = clicked14;         
  68.    if (numofimages > 14) {
  69.           image15original = new Image(); image15original.src = original15;
  70.               image15overit   = new Image();   image15overit.src = overit15;
  71.           image15clicked  = new Image();  image15clicked.src = clicked15;         
  72.    if (numofimages > 15) {
  73.           image16original = new Image(); image16original.src = original16;
  74.               image16overit   = new Image();   image16overit.src = overit16;
  75.           image16clicked  = new Image();  image16clicked.src = clicked16;         
  76.    if (numofimages > 16) {
  77.           image17original = new Image(); image17original.src = original17;
  78.               image17overit   = new Image();   image17overit.src = overit17;
  79.           image17clicked  = new Image();  image17clicked.src = clicked17;         
  80.    if (numofimages > 17) {
  81.           image18original = new Image(); image18original.src = original18;
  82.               image18overit   = new Image();   image18overit.src = overit18;
  83.           image18clicked  = new Image();  image18clicked.src = clicked18;         
  84.    if (numofimages > 18) {
  85.           image19original = new Image(); image19original.src = original19;
  86.               image19overit   = new Image();   image19overit.src = overit19;
  87.           image19clicked  = new Image();  image19clicked.src = clicked19;         
  88.    if (numofimages > 19) {
  89.           image20original = new Image(); image20original.src = original20;
  90.               image20overit   = new Image();   image20overit.src = overit20;
  91.           image20clicked  = new Image();  image20clicked.src = clicked20;         
  92.                       } } } } } } } } } } } } } } } } } } } 
  93.                     }
  94.     function statusbar(message) {
  95.         window.status = message; return true  }
  96.     function active(name)    { if (candoit)
  97.         { overit = eval(name + "overit.src");  document [name].src = overit;  } } 
  98.       function inactive(name)  { if (candoit)
  99.         { original = eval(name + "original.src"); document [name].src = original; } }
  100.       function clicked(name)   { if (candoit) 
  101.         { clicked = eval(name + "clicked.src"); document [name].src = clicked; } }
  102.         
  103.  //   -->
  104.