Image swap and ELECTRIC config setting
2005/10/17 06:27
Viewed 3057 times
Replies: 1/2

I'm trying out hte menu and thinking of purchasing a license. It looks really good but I'm having a couple of problems I need help with

I'm using images for my main horizontal navigation bar. When moused over I'd like that image to be swapped out with another and the menu to drop down. I've set my onload in the body tag to look like this
<body onLoad="MM_preloadImages('images/head-nav-on_03.jpg','images/head-nav-on_04.jpg','images/head-nav-on_05.jpg','images/head-nav-on_06.jpg','images/head-nav-on_07.jpg','images/head-nav-on_08.jpg','images/right-nav-on_05.jpg','images/right-nav-on_07.jpg','images/right-nav-on_09.jpg','images/right-nav-on_10.jpg','images/right-nav-on_13.jpg'); DynarchMenu.setup('menu', { electric: true ) )">

First, the menus just don't seem to work if I add electric: true to the setup call

second, I can't seem to get my mouseovers to work if the menu loads properly.

Any ideas?

thanks for the help

last
Re: Image swap and ELECTRIC config setting
2005/10/17 06:46
Viewed 4576 times
Replies: 1/1

I found the problem with setting electric. I just have a typo. Sorry about that. I still can figure out how to get the image swapping to work.

If I have my body set to <body onLoad="DynarchMenu.setup('menu', { electric: true} );">

and I have a list like this

<ul id="menu">
<li><a href="about-bcd.html" onMouseOver="MM_swapImage('about','','images/head-nav-on_03.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/head-nav_03.jpg" alt="" name="about" width="122" height="47" border="0" id="about"></a></li>
<ul>
<li>
<a href="#">Jtest1</a>
</li>
<li></li>
<li>
<a href="#">test2</a>
</li>
</ul>
</ul>

Why do my image swaps on mouse over and mouse out work when I don't use the menu but they don't work when I add the menu setup to the body onload?

If I can get this working I'll purchase a license immediately.

last
sub categories not working in firefox
2005/10/18 12:10
Viewed 2955 times
Replies: 1/4

Hi,

My subcategories are not showing in firefox. Check this url in IE: http://www.irmforestry.com/menu.html
and you will see a new set of menus when you mouseover Services > Forest Management. The new menus under Services > Forest Management is not loading in Firefox. Can someone help me?

Also, in IE, how can I remove the black border surrounding the whole menu. In firefox, the border is color white.

Thanks!

last
Re: sub categories not working in firefox
2005/10/18 12:19
Viewed 4267 times
Replies: 1/3

You have to start the <UL> tags that define submenus inside the <LI> of the parent item (which is actually the HTML standard way of defining nested lists).

For the IE border, include the following line somewhere in your CSS after loading the DynarchMenu skin:

div.dynarch-horiz-menu { border: 1px solid #224433; }

(or whatever color you like).

last
Menu Performance
2005/10/19 16:29
Viewed 4762 times
Replies: 1/8

I have an issue with menu loading.

Was bench marking performance issues on my page loading. During the first few loads, the hmenu.js loads with in a second.

As I increase the page loads, by reloading many times, the time taken for the menu to load increases gradually.

I checked after many page loads, the time has increased to 6 seconds.

The application which I am working is very crittical and performance takes the highest priority.

Any help will be appreciated. If you need the code which I am working on, I can mail it.

thanks ......

last
Re: Menu Performance
2005/10/19 16:39
Viewed 6160 times
Replies: 1/7

Try using the "lazy" parameter.

In any case, what you describe happens usually in Internet Explorer due to memory leaks. We carefully designed our menu to avoid such leaks, but if other code on your page leaks memory then you'll get the same results...

last
Google