Easy Image question...

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ndeklotz
Beginner
Beginner
Posts: 4
Joined: Mon Jun 21, 2004 9:12 pm

Easy Image question...

Post by ndeklotz »

Is there a demo or example around that shows a rollover effect for the main menu? I've tried searching and am getting hundreds of results but nothing I can make sense of.

I've tried

aI("image='/images/menu_1_a.gif';showmenu=menu2;");

but I'm getting a broken image...

How would I implement the following?
static image= menu_1_a.gif image height=23 image width=198
rollover image =menu_1_b.gif image height=23 image width=198
and a url=#

into the context of the aI line?

Any help would be greatly appreciated...

Nathan
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

You almost had it, don't use any quotes in aI string.


aI("image='/images/menu_1_a.gif';showmenu=menu2;");
should be:

aI("image=/images/menu_1_a.gif;showmenu=menu2;");
maz
ndeklotz
Beginner
Beginner
Posts: 4
Joined: Mon Jun 21, 2004 9:12 pm

Thank You

Post by ndeklotz »

I looked at the examples in the drop-down menu, only to just realize that there was a scroll bar in the drop-down and more examples under the Image Based Samples...

:?

Thanks for your patience...and help
Post Reply