Ade52
Newbie
Posts: 1
Registered: 2/16/2005
Member Is Offline
|
| posted on 2/17/2005 at 05:19 PM |
|
|
Menu does not show up on web page
Please I need help in the worst way. I am building a new web site for our organization and we want to eventually migrate to Tigra Gold. I have used
the Online menu builder to build a test menu called SHHS. Unfortunately I am unable to display the menu on our test web home page. I am using
FrontPage. I have carefully followed all instructions. However I do not know what is missing. I am not an expert at using Java, but I am not a novice
at programming (I use VB and VBA). All files (menu.css, menu.js, menu_items.js, menu_tpl.js) are in the same directory as my FrontPage files.
The FrontPage files are in this directory on my local hard drive.
P:SHHSWeb
Here is the content of menu_items.js file:
// menu_items.js file
var MENU_ITEMS =[
["Home", "P:SHHSWebindex.htm",
["Administration", "P:SHHSWebAdministration.htm"]
]
];
I have the following code on the FrontPage index.htm page (home page)
<link rel="stylesheet" href="menu.css">
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menu_items.js"></script>
<script language="JavaScript" src="menu_tpl.js"></script>
<script language="JavaScript">
"SHHS"(MENU_ITEMS, MENU_POS, MENU_STYLES);
</script>
</body>
</html>
As you can see, it is the last set of codes before the end of the page.
Can anyone help me to figure out what I have done wrong? Frankly, I like the way the menu looks on the Online builder, and I want to use it. I am
sure that it will work, but I just don’t know how.
Thanks folks.
|
|
|
tigra
Administrator
Posts: 1990
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 2/18/2005 at 11:37 PM |
|
|
It doesn't matter how you name menu in online buidler the initialization procedure is still the same. You can copy correct code from index.html which
you received insided the zip package generated by menu builder.
Also your paths don't look like correct HTTP addresses. For example "P:SHHSWebindex.htm" I guess that must be "Webindex.htm". If you don't know
where it comes from then make sure your FrontPage don't change any files for you.
|
|
|
|