GunMetalPearl
Junior Member
Posts: 2
Registered: 5/3/2008
Location: Urbana IL
Member Is Offline
|
| posted on 5/3/2008 at 02:44 AM |
|
|
Tried it and does not display
Created a one level, 4 sublevel, multi sub-sublevels and copied all the files like it said and nothing shows up on the page.
All I get in the error console is: MENU_ITEMS is not defined.
That is on this code:
<html>
<head>
<title>Tigra Menu Test</title>
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="MENU_ITEMS.js"></script>
<script language="JavaScript" src="MENU_TPL.js"></script>
<link rel="stylesheet" href="menu.css">
</head>
<body>
<p><script language="JavaScript" type="application/javascript" >
new menu (MENU_ITEMS, MENU_TPL);
</script></p>
</body>
</html>
All the files are there copied from the builder under export.
Suggestions??
Thanks - this was exactly what I was looking for - now it doesn't work. It looks fine in preview.
|
|
|
tigra
Administrator
Posts: 1984
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 6/13/2008 at 10:28 AM |
|
|
make sure you have all the file names and variable names right. they're case sensitive. I.e. if you saved items as menu_items.js the browser will not
pick it if refer it as MENU_ITEMS.js
|
|
|