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 Wed, 24 Oct 2001 10:05:08 GMT
cziegeler    01/10/24 03:05:08

  Modified:    documentation/stylesheets Tag: cocoon_20_branch
                        script-cli.js script.js
  Log:
  Java-Script patch
  Submitted by: Klaus Bertram [bertram@n-bis.de]
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +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.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- script-cli.js	2001/10/23 11:16:58	1.1.2.1
  +++ script-cli.js	2001/10/24 10:05:08	1.1.2.2
  @@ -2,11 +2,11 @@
   rolloverImagesOff=new Array();
   
   function rolloverOn(name) {
  -  document.images[name].src=rolloverImagesOn[name].src;
  +  if(document.images[name]) document.images[name].src=rolloverImagesOn[name].src;
   }
   
   function rolloverOff(name) {
  -  document.images[name].src=rolloverImagesOff[name].src;
  +  if(document.images[name]) document.images[name].src=rolloverImagesOff[name].src;
   }
   
   
  
  
  
  1.1.2.2   +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.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- script.js	2001/10/23 11:16:58	1.1.2.1
  +++ script.js	2001/10/24 10:05:08	1.1.2.2
  @@ -2,11 +2,11 @@
   rolloverImagesOff=new Array();
   
   function rolloverOn(name) {
  -  document.images[name].src=rolloverImagesOn[name].src;
  +  if(document.images[name]) document.images[name].src=rolloverImagesOn[name].src;
   }
   
   function rolloverOff(name) {
  -  document.images[name].src=rolloverImagesOff[name].src;
  +  if(document.images[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