I'm building a new spry menubar, following same procedure I've followed satisfactorily previously. But for some reason the sub-menu (see menu items "Bios" and "Publications") are not "available", that is, when I mouse away from the main menu item the list disappears:
http://usqproductions.com/unicamp-dspcom/test.html
Please forgive me if this is something terribly obvious or covered ad nauseum previously.
-- Andy
It looks like you have the submenus disappearing on mouseout of the original button ("Bios") and so when the mouse moves off of that link to click on a sublink, they disappear. Just make the reigon for the mouseout to entire area of the top level link and sublinks.
onmouseout="MM_swapImgRestore()"
This is the line of code causing this to happen.
Hope this helps!
Julia
In addition to Julia's reply, have a look at what David Powers says about positioning http://forums.adobe.com/thread/1034058.
Gramps
Thanks both, Julia and Gramps. I'm suspecting it has to do with the AP positioning since I set up the site with AP divs to achieve the background effect. However I'm not feeling totally confident of my methodology! But it makes sense that one of the AP parameters is affecting the mouseover behavior. I'll try to figure it out, otherwise may have to drop the idea of dropdowns for this site. Thanks again.
Andy,
Instead of using images and image swaps for the main menu items, why don't you simply have the color of the text change, that is, why not simply edit the colors into the CSS file instead of doing image swaps?
I'm not sure what you are AP positioning that is "getting you in trouble," but you should be able to manage all your text color changes within your CSS stylesheet file. I suggest you set up a sample page with the same elements in it (from scratch, so to speak), eliminating the awkward mouse-over behaviors, and go from there. Because the spry menubar works, right out of the box, you might test your changes on a newly defined site (new version of the spry stylesheet, too). I do not see why it should be providing you any trouble at all, but something has thrown a monkey-wrench into the system.
Beth
North America
Europe, Middle East and Africa
Asia Pacific