home *** CD-ROM | disk | FTP | other *** search
/ Netwerk 14 / Netwerk_Vol14.iso / ativa / atpsetup.exe / ativapro.chm / master.js < prev    next >
Text File  |  2000-07-20  |  1KB  |  34 lines

  1. //This is the master JavaScript file for the HTML Help documentation.
  2.  
  3. /* These functions (doSection, noSection) are used to make sidebars appear and disappear.
  4. */
  5.  
  6. function doSection (secNum){
  7.     //display the section if it's not displayed; hide it if it is displayed
  8.     if (secNum.style.display=="none"){secNum.style.display=""}
  9.     else{secNum.style.display="none"}
  10. }
  11.  
  12. function noSection (secNum){
  13.     //remove the section when user clicks in the opened DIV
  14.     if (secNum.style.display==""){secNum.style.display="none"}
  15. }
  16.  
  17. function doExpand(paraNum,arrowNum){
  18.     //expand the paragraph and rotate the arrow; collapse and rotate it back
  19.     if (paraNum.style.display=="none"){paraNum.style.display="";arrowNum.src="arrowdn.gif"}
  20.     else{paraNum.style.display="none";arrowNum.src="arrowrt.gif"}
  21. }
  22.  
  23. //These functions control the behavior of the homepage go arrows.
  24. function liteGo(spNo){
  25.     spNo.style.background="#cc0033";
  26.     spNo.style.color="#FFFFFF";
  27. }
  28.  
  29. function liteOff(spNo){
  30.     spNo.style.background="transparent";
  31.     spNo.style.color="#000000";
  32. }
  33.  
  34. //Insert new functions here. Please use unique identifiers and comment liberally.