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:
Please forgive me if this is something terribly obvious or covered ad nauseum previously.
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.
This is the line of code causing this to happen.
Hope this helps!
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.
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, you're right, there is no good reason on this site to use images as buttons, maybe I'll set it up with text only as you suggest.
As far as the problem with the dropdowns, Gramps was right, I had to set the z-order differently.
Europe, Middle East and Africa