cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: xml-stylebook/styles/apachexml/resources script.js
Date Tue, 04 Jan 2000 00:48:34 GMT
pier        00/01/03 16:48:34

  Modified:    styles/apachexml/resources script.js
  Log:
  Fixed bug in JavaScript code. Thanks to Jeff Martin <jeff.martin@dial.pipex.com>
  
  Revision  Changes    Path
  1.3       +6 -2      xml-stylebook/styles/apachexml/resources/script.js
  
  Index: script.js
  ===================================================================
  RCS file: /home/cvs/xml-stylebook/styles/apachexml/resources/script.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- script.js	1999/12/01 21:10:42	1.2
  +++ script.js	2000/01/04 00:48:34	1.3
  @@ -2,11 +2,15 @@
   rolloverImagesOff=new Array();
   
   function rolloverOn(name) {
  -  document.images[name].src=rolloverImagesOn[name].src;
  +  if(rolloverImagesOn[name]){
  +    document.images[name].src=rolloverImagesOn[name].src;
  +  }
   }
   
   function rolloverOff(name) {
  -  document.images[name].src=rolloverImagesOff[name].src;
  +  if(rolloverImagesOff[name]){
  +      document.images[name].src=rolloverImagesOff[name].src;
  +  }
   }
   
   function rolloverLoad(name,on,off) {
  
  
  

Mime
View raw message