Can I add an image at the end of my horizontal menu?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dyma97
Beginner
Beginner
Posts: 6
Joined: Mon Dec 20, 2004 11:17 pm

Can I add an image at the end of my horizontal menu?

Post by dyma97 »

http://askafpc--pro.custhelp.com/cgi-bi ... i/main.php

I would like to add an image at the end of the horizontal menu but am having problems.

with(milonic=new menuname("mainmenu")){
top=85;
left=2;
style=style0;
alwaysvisible=1;
alignment="left";
orientation="horizontal";
aI("text=<img src='http://askafpc.custhelp.com/rnt/rnw/img ... spacer.gif' align='left' width='15' hspace='0' border='0'>Home ;imagewidth='15';showmenu=MENU0;;separatorsize=0")
aI("text=<img src='http://askafpc.custhelp.com/rnt/rnw/img ... Divide.gif' align='left' hspace='0' border='0'> Career Planning ;showmenu=af_1;;separatorsize=0")
aI("text=<img src='http://askafpc.custhelp.com/rnt/rnw/img ... Divide.gif' align='left' hspace='0' border='0'> Personal Info ;showmenu=af_44;;separatorsize=0")
aI("text=<img src='http://askafpc.custhelp.com/rnt/rnw/img ... Divide.gif' align='left' hspace='0' border='0'> Personnel Services ;showmenu=af_56;;separatorsize=0")
aI("text=<img src='http://askafpc.custhelp.com/rnt/rnw/img ... Divide.gif' align='left' hspace='0' border='0'> AFPC Reference ;showmenu=af_79;;separatorsize=0")
aI("text=<img src='http://askafpc.custhelp.com/rnt/rnw/img ... Divide.gif' align='left' hspace='0' border='0'> Systems & Support ;showmenu=af_99;;separatorsize=0")
aI("text=<img src='http://askafpc.custhelp.com/rnt/rnw/img ... ideEnd.gif' align='right' border='0'>")
}


When unavDivideEnd.gif is the last "tab" image that I need on the line. When I add it using the aI method call, a space seems to be added as well. When I add it into the last menu item, the image is wrapped to the next line.

Any ideas on how to add this image at the end with no empty spaces?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Make that last aI

Code: Select all

aI("image=navDivideEnd.gif;itemwidth=15;type=header;");
Ruth
Last edited by Ruth on Wed Dec 29, 2004 5:31 am, edited 1 time in total.
dyma97
Beginner
Beginner
Posts: 6
Joined: Mon Dec 20, 2004 11:17 pm

Post by dyma97 »

bueno!

Thanks for the help
Post Reply