home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 September / Chip_1999-09_cd.bin / sharewar / wrdquiz / WordQuiz.CAB / wqhelp.chm / html / scripts.js < prev    next >
Encoding:
Text File  |  1999-04-12  |  11.6 KB  |  200 lines

  1.     tip= new Array(100);
  2.  
  3. // main toolbar left
  4.     tip[0] = "Creates a new blank vocabulary document. (Ctrl+N)";
  5.     tip[1] = "Opens an existing vocabulary document, and loads it for viewing. (Ctrl+O)";
  6.     tip[2] = "Saves the currently active vocabulary document. If it has not previously been saved, the Save As... command will be invoked. (Ctrl+S)";
  7.     tip[3] = "Prints the currently active vocabulary document. First the standard Windows Print dialog is shown where you can select if all or a specified range of pages should be printed. (Ctrl+P)";
  8.     tip[4] = "Displays a preview of the currently active vocabulary document as it will appear on a printed page.";
  9.     tip[5] = "Cut will remove the current selection and place it on the Clipboard. (Ctrl+X)";
  10.     tip[6] = "Copy will place a copy of the current selection on the Clipboard. (Ctrl+C)";
  11.     tip[7] = "Paste will paste the content of the Clipboard into the current selection. (Ctrl+V)";
  12.     tip[8] = "Undoes the last command. Check the tooltip or menu caption to see exactly what will be undone. (Ctrl+Z)";
  13.     tip[9] = "Inserts a new row above the selected row. (Ctrl+I)";
  14.     tip[10] = "Deletes the selected row(s). (Ctrl+K)";
  15.  
  16. // main toolbar right    
  17.     tip[11] = "Finds text in the vocabulary. (Ctrl+F)";
  18.     tip[12] = "Changes the display font of the vocabulary.";
  19.     tip[13] = "Sorts the entries in the vocabulary."    
  20.     tip[14] = "Changes the language headers of the vocabulary. (Ctrl+L)";
  21.     tip[15] = "Changes the quiz mode (step through or use the dropdown)";
  22.     tip[16] = "Starts a quiz (use the dropdown if you want another type of quiz).";
  23.     tip[17] = "Activates What's This Help. Click and the click on the object you want to know more about.";
  24.  
  25. // toolbar preview
  26.     tip[18] = "Will display the previous printed page in the document.";
  27.     tip[19] = "Will display the next printed page in the document.";
  28.     tip[20] = "Displays a standard dialog for changing printer settings.";
  29.     tip[21] = "Prints the currently displayed vocabulary document. (Ctrl+P)";
  30.     tip[22] = "Will close the preview window and return you to the main document window.";
  31.     tip[23] = "Activates What's This Help. Click and the click on the object you want to know more about."    
  32.  
  33. //frmlang
  34.     tip[24] = "This is the Language dialog. Place your mouse directly on the item you want to know more about.";
  35.     tip[25] = "Enter language or other identifier you want to appear in the header of the first column.";
  36.     tip[26] = "Enter language or other identifier you want to appear in the header of the second column.";
  37.     tip[27] = "Click this button to apply your changes to the two language edit boxes.";
  38.     tip[28] = "Click this button to discard your changes to the two language edit boxes.";
  39.     
  40. //frmabout
  41.     tip[29] = "This is the About dialog. Place your mouse directly on the item you want to know more about.";
  42.     tip[30] = "Clicking this link will automatically take you to the WordQuiz web site on the Internet so that you can see if there is an update available.";
  43.     tip[31] = "This link will start your e-mail program so that you can send support questions or give feedback.";
  44.     tip[32] = "Click this button to close the dialog. Pressing Return or Esc on the keyboard will have the same effect.";
  45.     tip[33] = "Click this button to enter your user name and the registration code you received when registering WordQuiz. Once you have registerd this button will not be shown.";
  46.  
  47.  
  48. //frmregister
  49.     tip[34] = "This is the Register dialog. Place your mouse directly on the item you want to know more about.";
  50.     tip[35] = "Enter your name exactly as it appears on your registration confirmation.";
  51.     tip[36] = "Enter the registration code provided on your registration confirmation. No spaces.";
  52.     tip[37] = "Click this button to enter your registration information.";
  53.     tip[38] = "Click this button to cancel changes to the registration information.";
  54.  
  55. //frmdoc
  56.     tip[39] = "This is the Document window. Place your mouse directly on the item you want to know more about.";
  57.     tip[40] = "Language 1 header. You can change this header by selecting Languages... either from the Vocabulary menu or from the popup menu that appears if you right-click on the document window.";
  58.     tip[41] = "Language 2 header. You can change this header by selecting Languages... either from the Vocabulary menu or from the popup menu that appears if you right-click on the document window.";
  59.     tip[42] = "Document grid. Enter words or expressions pair-wise in the cells. Type directly into the active cell or edit a cell entry. Double click a cell to edit its content.";
  60.  
  61. //frmfind
  62.     tip[43] = "This is the Find dialog. Place your mouse directly on the item you want to know more about.";
  63.     tip[44] = "Type the text you want to search for.";
  64.     tip[45] = "Select if you want to search the whole document or just column 1 or column 2.";
  65.     tip[46] = "Check if you want the search to be case sensitive (a is different from A).";
  66.     tip[47] = "Check if you want to find whole words only, not parts of words.";
  67.     tip[48] = "Click this button to start the search.";
  68.     tip[49] = "Click this button to expand the dialog to also include the ability to replace text.";
  69.     tip[50] = "Click this button to close the dialog.";
  70.  
  71. //frmreplace
  72.     tip[51] = "This is the Replace dialog. Place your mouse directly on the item you want to know more about.";
  73.     tip[52] = "Type the text you want replacing the old text.";
  74.     tip[53] = "Click this button to replace the current selection.";
  75.     tip[54] = "Click this button to replace all instances of the search text with the replace text.";
  76.  
  77. //frmfont
  78.     tip[55] = "This is the Font dialog. Place your mouse directly on the item you want to know more about.";
  79.     tip[56] = "Select the font you want from the dropdown.";
  80.     tip[57] = "Select the size you want your vocabulary text to have.";
  81.     tip[58] = "Select the color you want your vocabulary text to have.";
  82.     tip[59] = "Check if you want your vocabulary text to be bold.";
  83.     tip[60] = "Check if you want your vocabulary text to be italic.";
  84.     tip[61] = "Check if you want your font selection to apply to all new vocabularies you create.";
  85.     tip[62] = "Shows a preview of how text will appear.";
  86.     tip[63] = "Click this button to apply the selected font to your vocabulary.";
  87.     tip[64] = "Click this button to close the dialog and ignore changes.";
  88.  
  89. //frmsort
  90.     tip[65] = "This is the Sort dialog. Place your mouse directly on the item you want to know more about.";
  91.     tip[66] = "Select if you want to sort the vocabulary based on the first or second column.";
  92.     tip[67] = "Select if you want to sort the vocabulary in ascending or descending order.";
  93.     tip[68] = "Check if you only want to sort selected rows.";
  94.     tip[69] = "Click this button to start the sort.";
  95.     tip[70] = "Click this button to close the dialog without sorting.";
  96.  
  97. //frmrowheight
  98.     tip[71] = "This is the Row Height/Column Width dialog. Place your mouse directly on the item you want to know more about.";
  99.     tip[72] = "Enter the row height/column width (in pixels) you want in your vocabulary.";
  100.     tip[73] = "Click this button to apply the new row height/column width.";
  101.     tip[74] = "Click this button to close the dialog without changing the row height/column width.";
  102.  
  103. //frmqa
  104.     tip[75] = "This is the Question & Answer dialog. Place your mouse directly on the item you want to know more about.";
  105.     tip[76] = "This is your question, i. e. the word or expression you should give the corresponding entry to. The language of the word is to the left.";
  106.     tip[77] = "Enter your answer to the question in this box, i. e. the entry in the document that you think corresponds to the word or expression above. Your answer should be in the language to the left.";
  107.     tip[78] = "This is the word or expression in the previous question.";
  108.     tip[79] = "This is your answer to the previous question. Correct answers will be indicated by a green check mark, and incorrect answers by a red X.";
  109.     tip[80] = "This is the correct answer to the previous question. It will only be displayed if your answer was incorrect.";
  110.     tip[81] = "This is the total number of questions in the quiz.";
  111.     tip[82] = "This is the number of question you have already answered.";
  112.     tip[83] = "This is the number of correct answers you have given so far.";
  113.     tip[84] = "This is the number of incorrect answers you have given so far.";
  114.     tip[85] = "Check if you want to hear a sound if your answer is incorrect. It can be toggled by clicking or by pressing Alt+B.";
  115.     tip[86] = "Check if you want questions were you use the hint function to be counted as errors. The question will then also be included if you repeat errors. That way you can make sure you learn the answer properly. Click or press Alt+T.";
  116.     tip[87] = "This button will check if your answer is correct. When you have answered all the questions the name of the button will change to Done and it will then close the dialog. Click or press Return.";
  117.     tip[88] = "This button will give you the first letter of the answer. If you click it again the next letter will be given. If you have started to type an answer, all correct letters will remain and one additional letter will be given. Click or press Alt+H.";
  118.     tip[89] = "If some of your answers were incorrect this button will be enabled when you have answered all the questions. You will then be asked these questions again. Click or press Alt+R.";
  119.     tip[90] = "This button will close the quiz dialog immediately and return you to the document window. Click or press Esc.";
  120.  
  121. //frmmultiple
  122.     tip[91] = "This is the Multiple Choice dialog. Place your mouse directly on the item you want to know more about.";
  123.     tip[92] = "These are the answer options. Select the one you think is correct.";
  124.     tip[93] = "Check if you want your answer selection checked immediately. Otherwise you have to click the Check button to see if the answer is correct.";
  125.     
  126. //frmstudy
  127.     tip[94] = "This is the Study dialog. Place your mouse directly on the item you want to know more about.";
  128.  
  129.     tip[95] = "When you click one of the buttons, the answer will be spelled out here.";
  130.     tip[96] = "Check if you want the answer to be shown automatically after the specified amount of time.";
  131.     tip[97] = "Check if you want automatically shown answers to be counted as errors";
  132.     tip[98] = "Click this button if you want the question to be counted as correct.";
  133.     tip[99] = "Click this button if you want the question to be counted as incorrect." 
  134.  
  135.  
  136.     function showDesc(current,e,index)
  137.         {
  138.         
  139.         text=tip[index]        
  140.         
  141.         if (document.all)
  142.         //IE4
  143.         {
  144.                 thetitle=text.split('<BR>')
  145.                 
  146.                 if (thetitle.length>1)
  147.                     {
  148.                     thetitles=''
  149.                                                
  150.                     for (i=0;i<thetitle.length;i++)
  151.                         thetitles+=thetitle[i]
  152.                     current.title=thetitles
  153.                     }
  154.                 else
  155.                     current.title=text
  156.                     }
  157.  
  158.         else if (document.layers)
  159.             {
  160.             //Netscape
  161.             document.tooltip.document.write('<layer bgColor="white" style="border:1px solid black;font-size:12px;">'+text+'</layer>')
  162.             document.tooltip.document.close()
  163.             document.tooltip.left=e.pageX+5
  164.             document.tooltip.top=e.pageY+5
  165.             document.tooltip.visibility="show"
  166.         }
  167.     }
  168.  
  169.     
  170.     
  171.     
  172.     function showDesc2 (index) {
  173.         switch (index) {
  174.             case 1 :
  175.                 document.images["desc"].src = btn1.src;
  176.                 break;
  177.             case 2 :
  178.                 document.images["desc"].src = btn2.src;
  179.                 break;
  180.             case 3 :
  181.                 document.images["desc"].src = btn3.src;
  182.                 break;
  183.         }
  184.         }
  185.     
  186.     function resetImg2() 
  187.         {
  188.         document.images["desc"].src = btn0.src;
  189.         }
  190.     
  191.     function resetImg()
  192.         {
  193.         if (document.layers)
  194.             document.tooltip.visibility="hidden"
  195.         }
  196.     
  197.     function doNothing() {
  198.         //alert("You clicked button " + index + ".")
  199.         }
  200.