xml-general 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 note.gif script.js style.css
Date Wed, 01 Dec 1999 21:10:43 GMT
pier        99/12/01 13:10:43

  Modified:    styles/apachexml/resources script.js
  Added:       styles/apachexml/resources note.gif
  Removed:     styles/apachexml/resources style.css
  Log:
  Added note image, removed CSS and improved JavaScript code.
  
  Revision  Changes    Path
  1.2       +11 -19    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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- script.js	1999/11/15 21:42:36	1.1
  +++ script.js	1999/12/01 21:10:42	1.2
  @@ -1,25 +1,17 @@
  -var on=new Array();
  -var off=new Array();
  +rolloverImagesOn=new Array();
  +rolloverImagesOff=new Array();
   
  -function topon(name) {
  -  document.images["top."+name].src="images/button-"+name+"-hi.gif";
  +function rolloverOn(name) {
  +  document.images[name].src=rolloverImagesOn[name].src;
   }
   
  -function topoff(name) {
  -  document.images["top."+name].src="images/button-"+name+"-lo.gif";
  +function rolloverOff(name) {
  +  document.images[name].src=rolloverImagesOff[name].src;
   }
   
  -function sideon(name) {
  -  document.images["side."+name].src=on[name].src;
  -}
  -
  -function sideoff(name) {
  -  document.images["side."+name].src=off[name].src;
  -}
  -
  -function sideload(name) {
  -  on[name]=new Image();
  -  on[name].src="images/"+name+"-2.jpg";
  -  off[name]=new Image();
  -  off[name].src="images/"+name+"-3.jpg";
  +function rolloverLoad(name,on,off) {
  +  rolloverImagesOn[name]=new Image();
  +  rolloverImagesOn[name].src=on;
  +  rolloverImagesOff[name]=new Image();
  +  rolloverImagesOff[name].src=off;
   }
  
  
  
  1.1                  xml-stylebook/styles/apachexml/resources/note.gif
  
  	<<Binary file>>
  
  

Mime
View raw message