AllWebMenu
THIS SAMPLE 3 IS MADE WITH FRAMES - SUBMENU CROSSES TO MIDDLE FRAME!!!
This is not intended as a step-by-step tutorial,but as a sample with helpful hints below general info.
|
HOW TO USE ALL WEB MENUS WITH CSB/TRELLIX
QUOTE FROM KW on CSB Board:
Here's what I do:
1. First, outside of AWM, create an empty text file -- call it sample.txt -- it doesn't matter. Also, create an empty folder on your PC to store what you will create will AWM.
2. Start up AWM and create your menu as desired
3. Click on Tools > Compile Menu and save it
4. Then you will get a window saying Menu compiled successfully. And at the bottom you will have three buttons. Click on the first button (I want to link the compiled menu to my web pages)
5. Browse and locate your empty text file (sample.txt) and click link.
So, at this point what you have is a text file that includes the custom HTML code necessary to be placed into CSB. So here's what you do:
6. Use your favorite FTP program and upload the files generated by AWM to the same location (directory) where your CSB web page is published. There should be 3 files (.gif, .awm, and .js files) and a subdirectory (awmdata-xxx) to be uploaded
7. Open up sample.txt using Notepad
8. Also open up CSB, click on Insert > HTML Code, and then copy and paste the code placed inside the sample.txt file to CSB. (This instruction is now incorrect...will only work in Internet Explorer. See notes below)
9. Publish.
Now, once you've done all that -- if you have to go back and modify your AWM menu - you DO NOT HAVE TO DO ALL THE ABOVE steps. Rather, here's what you do:
1. Open up AWM, make your changes, then click on Tools > Compile Menu, then click Save > OK.
2. Then, click on the third button (I'm done,I have already linked the menu to my pages before)
3. Then simply start up FTP and upload the .js file to your web site (that's the only file that gets modified)
-kw
ADDITIONAL NOTE - NAMING YOUR TXT FILE:
I personally use a name for my txt file that matches the site.
For the three menu examples above, micheleplain.txt, micheleframe.txt, and micheleframecross.txt are my three txt files (one for each menu) so when I have SEVERAL menus, I know which txt matches which set of js files! Open Notepad, FILE > SAVE AS > filename.txt - Samantha
|
ALLWEBMENU SETTING FOR FRAME:
If you publish with HTML FRAMES in CSB, then in your rollover settings, use the frame name TRLX_Middle to have the menu item open in the middle section of the webpage (beneath the top border, when the menu is in the top border).
In addition to the TARGET FRAME, in this case I have checked the option for Cross Frame Support.
|
|
ADDITIONAL INFORMATION FOR FOR CROSS-FRAME MENUS:
Instead of 3 files noted in KW's instruction, you will end up with 4 files. Another .js file is made with the addition of _sub to the name. It must be uploaded you your site also.
The code that is generated by All web menu and placed into your .txt file for Cross-Frames is split into two parts.
Disregard any part of the code that is shown in BLACK. CSB does not need it.
 The first code is placed where you want your main menu to be (in top or left border) SHOWN IN PURPLE BELOW.
The second code is placed in the middle frame of your web page, and on each page you want to appear in the middle frame SHOWN IN GOLD BELOW.
<body>
<!-- DO NOT MOVE! The following AllWebMenus code MUST ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR micheleFC ******** -->
<img name='awmMenuPathImg-micheleFC' id='awmMenuPathImg-micheleFC' src='./awmmenupath.gif' alt=''>
<script type='text/javascript'>var MenuLinkedBy='AllWebMenus [2]', awmBN='510'; awmAltUrl='';</script>
<script src='micheleFC.js' language='JavaScript1.2' type='text/javascript'></script>
<script type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR micheleFC ******** -->
<!-- DO NOT MOVE! The following AllWebMenus code MUST ALWAYS BE PLACED JUST BEFORE THE /BODY TAG -->
<!-- ******** BEGIN ALLWEBMENUS CODE FOR micheleFC_sub ******** -->
<img name='awmMenuPathImg-micheleFC_sub' id='awmMenuPathImg-micheleFC_sub' src='./awmmenupath.gif' alt=''>
<script type='text/javascript'>var MenuLinkedBy='AllWebMenus [2]', awmBN='510'; awmAltUrl='';</script>
<script src='micheleFC_sub.js' language='JavaScript1.2' type='text/javascript'></script>
<script type='text/javascript'>awmBuildMenu();</script>
<!-- ******** END ALLWEBMENUS CODE FOR micheleFC_sub ******** -->
</body>
Trim the code generated by AWM before inserting it into your webpage. BUT DO NOT use Insert > HTML (webgem in Trellix) to insert your code as mentioned in step 8 by KW!!! Unfortunately, that will work for Internet Explorer, but not for other browsers like Mozilla! You must use the PASSTHRU method to insert your AWM code.
PASSTHRU technique: using <| before and |> after the code (no spaces between the < and the | characters). This puts the code directly into the webpage so you can see it in the design window. It must be must be ALONE on the line with no other text or code!
Netscape also requires this code on the page. Place it into your page using the Passthru method also!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
My final codes used on this page,
Main code, placed at the VERY bottom of the TOP BORDER (since that is where the menu should appear in this sample) below all text - last thing on the border!
SUB code, placed at the VERY bottom of the MIDDLE PAGE BODY below all text - last thing on the page!
This part of the code also must appear on each page you want to appear with the menu!
SETTINGS FOR THIS SAMPLE:
inset buttons, with rollover color change (very slight difference). When you hold the mouse over any of the main level items, the TOOLTIP shows a message. When clicked, the choice turns PINK.
Can adjust placement. No free version, just trial without publishing.
The cost to register one AllWebMenus LITE License is $35 which allows you to install AllWebMenus LITE in one machine and use it for a single web site (home license).
The cost to register one AllWebMenus PRO License is $59.95 which allows you to install AllWebMenus in one machine and create menus for as many web sites as you wish, as well as getting more features.
|