» Forums
» DynarchMenu forum
» Support
» Image swap and ELECTRIC config setting
Image swap and ELECTRIC config setting
2005/10/17 06:27
Viewed 3202 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

Re: Image swap and ELECTRIC config setting
2005/10/17 06:46
Viewed 4803 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
Re[2]: Image swap and ELECTRIC config setting
2005/10/17 11:01
Viewed 5997 times
Replies: 0/0

A new version (which is planned for release today) will contain a sample about using images in the main menu bar.

last
Google