menu shadows
2004/11/02 09:11
Viewed 10029 times
Replies: 2/6

I am looking at using the Dynarch menu and I cant get the menu shadows to display.  I suspect this may be due to the location of the hmenu directory in my site.  I have to put the hmenu directory one level below the root directory (for example  www.webpage.com/products/hmenu or included as /products/hmenu )

Is there anything I can change to make this work or is the shadow location hardcoded into the javascript file?

Thanks!

Re: menu shadows
2004/11/02 10:47
Viewed 12837 times
Replies: 1/1

It should work just fine if you declare the correct URL to DynarchMenu before loading the main script, like this:

<script type="text/javascript">
_dynarch_menu_url = "/products/hmenu/";
</script>

<script type="text/javascript" src="/products/hmenu/hmenu.js"></script>
<link rel="stylesheet" src="/products/hmenu/skin-aqua.css" />

The above declares the URL as “/products/hmenu/

last
Re[2]: menu shadows
2004/11/02 11:33
Viewed 14267 times
Replies: 0/0

It works now. I did not have the correct setup. What I did NOT do is move the src directory contents into the hmenu folder in the website and eliminate the src directory. This was a confusing point in the documentation since I thought I just needed to put the src directory under the hmenu directory.

Thanks!

last
Re: menu shadows
2005/09/05 10:44
Viewed 8129 times
Replies: 2/3

Hi there

I seem to be having the same problem. The css load fine, but I just cannot get the shadows to show up. I am testing this under localhost, and my url is :
http://localhost/indagodmp/home.aspx

My code looks like this:
!— declare the menu location —>
<script type="text/javascript">
_dynarch_menu_url = "/hmenu/";
</script>
<style type="text/css">
@import url("hmenu/skin-xp.css");
</style>
<!— load the menu program file —>
<script type="text/javascript" src="hmenu/hmenu.js"></script>

I have tried hmenu in every which way but sunday, with no luck. Any suggestions?

PS: Thanks for a great product, definitely going to link you.

last
Re[2]: menu shadows
2005/09/05 12:37
Viewed 9923 times
Replies: 1/1

Check this reply: http://www.dynarch.com/forums/98 — basically, you need to define the path to the DynarchMenu files in a JavaScript global variable, before loading hmenu.js.

last
Re[2]: menu shadows
2005/10/01 04:26
Viewed 9406 times
Replies: 0/0
by Kirk

Remove the forward-slash before hmenu in your path declaration. I know it sounds weird, but it got it working for me and I have my hmenu directory buried 2 levels deep.

Hope this helps,
-Kirk

last
Google