home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 January / VPR0001A.ISO / OLS / cul103 / cul103.lzh / Culiet.chm / html / etc / master.js
Text File  |  1999-11-02  |  1KB  |  43 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. {
  19.   //expand the paragraph and rotate the arrow; collapse and rotate it back
  20.   if (paraNum.style.display == "none")
  21.   {
  22.     paraNum.style.display = "";
  23.     arrowNum.src = "./images/arrowdn.gif";
  24.   }
  25.   else
  26.   {
  27.     paraNum.style.display = "none";
  28.     arrowNum.src = "./images/arrowrt.gif";
  29.   }
  30. }
  31.  
  32. //These functions control the behavior of the homepage go arrows.
  33. function liteGo(spNo){
  34.         spNo.style.background="#cc0033";
  35.         spNo.style.color="#FFFFFF";
  36. }
  37.  
  38. function liteOff(spNo){
  39.         spNo.style.background="transparent";
  40.         spNo.style.color="#000000";
  41. }
  42.  
  43. //Insert new functions here. Please use unique identifiers and comment liberally.