Menu Problem

K

KenP

I am using a vertical menu application I found on the Internet at
http://www.dynamicdrive.com/dynamicindex1/slashdot.htm and am having the
following problem when inserted in FrontPage:

I get a sdmenu is undefined error on the following statement:

new sdmenu/SDMenu("main_menu");

The previous code referring to the sdmenu is as follows:

<link rel="stylesheet" type="text/css" href="/sdmenu/sdmenu.css" />
<script type="text/javascript" src="/sdmenu/sdmenu.js">

I am using FrontPage and have the sdmenu in a root folder labled sdmenu.

Any help will be greatly appreciated. Thanks and have the great weekend.
Ken
 
S

Stefan B Rusynko

Many Dhtml scripts must be relative to the page using them
- try putting the script/style in the same folder as your page and changing the path in your links

If it works then, you will need to edit the script/css to reflect your desired root relative subfolder path

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I am using a vertical menu application I found on the Internet at
| http://www.dynamicdrive.com/dynamicindex1/slashdot.htm and am having the
| following problem when inserted in FrontPage:
|
| I get a sdmenu is undefined error on the following statement:
|
| new sdmenu/SDMenu("main_menu");
|
| The previous code referring to the sdmenu is as follows:
|
| <link rel="stylesheet" type="text/css" href="/sdmenu/sdmenu.css" />
| <script type="text/javascript" src="/sdmenu/sdmenu.js">
|
| I am using FrontPage and have the sdmenu in a root folder labled sdmenu.
|
| Any help will be greatly appreciated. Thanks and have the great weekend.
| Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top