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: Thursday February 8 2018 - 06:02:01

Menus built from images (example)


Poster: DarkProfit
Dated: Thursday August 19 2004 - 20:31:29 BST

I just bought the menu, and downloaded the "Menus built from images " example. but all the submenus show at the top left of image(1) and cannot for the life of me figure out how to change this?

i need it vertical and the menus to pop out to the side.

below is the code

Code: Select all



_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_subOffsetTop=5               // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset



with(AllImagesStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
padding=3;
fontstyle="normal";
fontweight="normal";
}


with(menuStyle=new mm_style()){
   onbgcolor="#4F8EB6";
   oncolor="#ffffff";
   offbgcolor="#DCE9F0";
   offcolor="#515151";
   bordercolor="#296488";
   borderstyle="solid";
   borderwidth=0;
   separatorcolor="#2D729D";
   separatorsize="0";
   //padding=5;
   fontsize="75%";
   fontstyle="normal";
   fontfamily="Verdana, Tahoma, Arial";
   pagecolor="black";
   pagebgcolor="#82B6D7";
   headercolor="#000000";
   headerbgcolor="#ffffff";
   subimage="arrow.gif";
   subimagepadding="2";
   //overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
//   outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("Main Menu")){
style=AllImagesStyle;
top=10;
left=10;
alwaysvisible=1;
orientation="vertical";
itemwidth=250;

aI("url=http://www.milonic.com/;status=Back To Home Page;image=btn1-off.gif;overimage=btn1-on.gif;");
aI("showmenu=aa Samples;image=btn2-off.gif;overimage=btn2-on.gif;");
aI("showmenu=Milonic;image=btn3-off.gif;overimage=btn3-on.gif;");
aI("showmenu=Links;image=btn4-off.gif;overimage=btn4-on.gif;");
aI("showmenu=My milonic;image=btn5-off.gif;overimage=btn5-on.gif;");
}

with(milonic=new menuname("aa Samples")){
style=menuStyle;
overflow="scroll";
left=500;

aI("url=/menusample.php?sampleid=18;image=allimages_on.gif;overimage=allimages.gif;");
aI("url=/menusample.php?sampleid=12;image=xpstyle_on.gif;overimage=xpstyle.gif;");
aI("url=/menusample.php?sampleid=16;image=static_on.gif;overimage=static.gif;");
aI("url=/menusample.php?sampleid=1;image=horizontal_on.gif;overimage=horizontal.gif;");
}

with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("url=http://www.milonic.com/cbuy.php;image=purch_on.gif;overimage=purch.gif;");
aI("url=http://www.milonic.com/contactus.php;image=contact_on.gif;overimage=contact.gif;");
aI("url=http://www.milonic.com/newsletter.php;image=news_on.gif;overimage=news.gif;");
aI("url=http://www.milonic.com/menufaq.php;image=faq_on.gif;overimage=faq.gif;");
aI("url=http://www.milonic.com/forum/;image=forum_on.gif;overimage=forum.gif;");
aI("url=http://www.milonic.com/license.php;image=lic_on.gif;overimage=lic.gif;");
aI("url=http://www.milonic.com/privacy.php;image=privacy_in.gif;overimage=privacy.gif;");
aI("url=http://www.milonic.com/mylicenses.php;image=licenses_on.gif;overimage=licenses.gif;");
}

with(milonic=new menuname("Partners")){
style=menuStyle;
aI("text=(aq) Web Hosting;url=http://www.a-q.co.uk/;status=(aq) Web Server Hosting & Services;");
aI("text=SMS 2 Email;url=http://www.sms2email.com/;");
aI("text=WebSmith;url=http://www.softidiom.com/;");
}

with(milonic=new menuname("Links")){
style=menuStyle;
aI("url=http://www.apache.org/;status=Apache Web Server, the basis of Milonic's Web Site;image=apache_on.gif;overimage=apache.gif;");
aI("url=http://ww.mysql.com/;status=MySQL, Milonic's Prefered Choice of Database Server;image=mysql_on.gif;overimage=mysql.gif;");
aI("url=http://www.php.net/;status=PHP - Web Server Scripting as used by Milonic;image=php_on.gif;overimage=php.gif;");
}

with(milonic=new menuname("My Milonic")){
style=menuStyle;
aI("url=http://www.milonic.com/login.php;image=login_on.gif;overimage=login.gif;");
aI("url=http://www.milonic.com/myinvoices;image=invoices_on.gif;overimage=invoices.gif;");
aI("url=http://www.milonic.com/reqsupport.php;image=support_on.gif;overimage=support.gif;");
aI("url=http://www.milonic.com/mydetails.php;image=details_on.gif;overimage=details.gif;");
}

drawMenus();



any help would be great needed asap
edit: btw they do this on the milonic main site as well
im using IE6

found and fixed the problem


Poster: DarkProfit
Dated: Thursday August 19 2004 - 22:07:05 BST

add text=  to the menu and it fixed the problem
without the text= in the menu it will not position the submenu


Poster: kevin3442
Dated: Friday August 20 2004 - 22:14:19 BST

Hmmmm. Did you also try text=; (no  )?

Kevin


Poster: Andy
Dated: Monday August 23 2004 - 13:39:38 BST

Hi,

I've found the bug and should get the fixed version of the menu released later today.

Look out for version 5.43.

Cheers
Andy


Poster: Andy
Dated: Monday August 23 2004 - 17:57:51 BST

update has just gone up

Cheers
Andy