using images instead of text on top-level menu items

4 views
Skip to first unread message

steve

unread,
Nov 3, 2005, 5:06:50 PM11/3/05
to DOM Menu Library
I'm trying to use images rather than text for the top-level menus. It
wasn't clear to me from the documenation whether or not this was
supported, so I decided to give it a try. What I did was basically
something like this:

domMenu_data.set('domMenu_main', new Hash(
new Hash(
'contents', '<img src="/images/nav1.gif">',
'contentsHover', '<img src="/images/nav1-over.gif">',
'uri', '/index.html',
...


This worked fine in Mozilla and Firefox but in IE, the initial images
work but the rollover images don't show up. Anyone know if there's a
way to do this that would work in IE?

Reply all
Reply to author
Forward
0 new messages