Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:59

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


Poster: dyma97
Dated: Tuesday December 28 2004 - 21:09:56 GMT

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/enduser/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/enduser/navDivide.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/enduser/navDivide.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/enduser/navDivide.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/enduser/navDivide.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/enduser/navDivide.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/enduser/navDivideEnd.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?


Poster: Ruth
Dated: Tuesday December 28 2004 - 22:43:04 GMT

Make that last aI

Code:
aI("image=navDivideEnd.gif;itemwidth=15;type=header;");


Ruth


Poster: dyma97
Dated: Tuesday December 28 2004 - 23:43:46 GMT

bueno!

Thanks for the help