home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2002 August / INTERNET94.ISO / pc / software / windows / building / webmenu_studio / wmstud01.cab / _A960A3D6AE6F4923BFCB20A086C53873 < prev    next >
Encoding:
Text File  |  2002-03-14  |  2.3 KB  |  56 lines

  1. <html>
  2. <head>
  3.     
  4.     <title>Untitled</title>
  5. </head>
  6. <body onResize="cswmRefresh()" topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>
  7.  
  8. <script language="JavaScript" type="text/javascript" src="./includes/loader.js"></script>
  9.  
  10. <br>
  11. <br>
  12. <table width="100%" border=0 cellpadding=5 cellspacing=5>
  13.     <tr>
  14.         <td colspan=2>
  15.             <p><b>About the Sample:</b></td>
  16.     </tr>
  17.     <tr>
  18.         <td width=10></td>
  19.         <td>
  20.             <p>
  21.                 This sample demonstrates how to use WebMenu within a Frameset.  It uses the NetMenu WMS sample for the menu creation, the details of which are discussed elsewhere.  This sample focuses on how to set up and use framesets.
  22.             <p>
  23.                 This document defines two Frames:  the Nav frame and the Main Frame.
  24.             <p>
  25.                 The Nav frame contains a document with only the blue bar and the "File" button.  The "File" button's onMouseOver event calls a client-side function which is available in the Main frame once the WebMenu Javascript code is generated.  This function is called <b>cswmShowInFrame()</b>.  It is similar to <b>cswmShow()</b>, except it can only perform absolute positioning and has 3 parameters:  GroupID, X, Y.  The X and Y coordinate values should reflect the position you want the Group to appear in the Main frame when the scroll bars are in their initial state.
  26.             <p>
  27.                 The Main frame contains a document with the content you are reading.  This page also wholly contains the WebMenu generated code.
  28.             <p>
  29.                 As you scroll the Main frame, the menu Group will always appear in the upper-left corner.
  30.             
  31.         </td>
  32.     </tr>
  33.     <tr>
  34.         <td colspan=2>
  35.             <p><b>View the Code:</b></td>
  36.     </tr>
  37.     <tr>
  38.         <td width=10></td>
  39.         <td>
  40.             <p>
  41.                 The code for this sample is available in the product installation directory:
  42.                 <ul>
  43.                     <li><b>netmenu.wms</b> - The WebMenu Studio project file.
  44.                     <li><b>default.htm</b> - The Frameset document.
  45.                     <li><b>menu.htm</b> - The document which contains the "File" button.
  46.                     <li><b>body.htm</b> - The document which loads the content page and the menu.
  47.                 </ul>
  48.         </td>
  49.     </tr>
  50. </table>
  51. <br><br><br><br>
  52. This line helps make the scroll bars activate:
  53. asdf;laksdf;laksdjf;alskdfjalskdfjal;skdfja;lskdfja;lskdfa;lskjdfa;lksdfa;lksdfa;klsjdfal;ksjdfa;lksdfjal;ksdfa;lksdf;alksjdf;lkasjdf;lkasdf;lkajsdf;laksjdf;lkasjdf;laksjdf;lkasjdf;laksjdf
  54. </body>
  55. </html>
  56.