cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/documentation/stylesheets script-cli.js script.js
Date Thu, 25 Oct 2001 12:17:21 GMT
cziegeler    01/10/25 05:17:21

  Modified:    documentation/stylesheets script-cli.js script.js
  Log:
  Fixed javascript. Submitted by Klaus Bertram [bertram@n-bis.de]
  
  Revision  Changes    Path
  1.3       +2 -2      xml-cocoon2/documentation/stylesheets/script-cli.js
  
  Index: script-cli.js
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/documentation/stylesheets/script-cli.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- script-cli.js	2001/10/24 10:05:32	1.2
  +++ script-cli.js	2001/10/25 12:17:21	1.3
  @@ -2,11 +2,11 @@
   rolloverImagesOff=new Array();
   
   function rolloverOn(name) {
  -  if(document.images[name]) document.images[name].src=rolloverImagesOn[name].src;
  +  if(document.images[name] && rolloverImagesOn[name]) document.images[name].src=rolloverImagesOn[name].src;
   }
   
   function rolloverOff(name) {
  -  if(document.images[name]) document.images[name].src=rolloverImagesOff[name].src;
  + if(document.images[name] && rolloverImagesOff[name]) document.images[name].src=rolloverImagesOff[name].src;
   }
   
   
  
  
  
  1.3       +2 -2      xml-cocoon2/documentation/stylesheets/script.js
  
  Index: script.js
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/documentation/stylesheets/script.js,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- script.js	2001/10/24 10:05:32	1.2
  +++ script.js	2001/10/25 12:17:21	1.3
  @@ -2,11 +2,11 @@
   rolloverImagesOff=new Array();
   
   function rolloverOn(name) {
  -  if(document.images[name]) document.images[name].src=rolloverImagesOn[name].src;
  + if(document.images[name] && rolloverImagesOn[name]) document.images[name].src=rolloverImagesOn[name].src;
   }
   
   function rolloverOff(name) {
  -  if(document.images[name]) document.images[name].src=rolloverImagesOff[name].src;
  + if(document.images[name] && rolloverImagesOff[name]) document.images[name].src=rolloverImagesOff[name].src;
   }
   
   function rolloverLoad(name,on,off) {
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message