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:48


Poster: rudy
Dated: Sunday January 18 2004 - 2:19:12 GMT

I have read and read but can't see anything on how to make a submenu that is offset from the regular drop down menu. I may not even be describing this correctly, but as I slide down my menu I want another set of links to open off the right side of the current drop down menu.

I have looked at the code but can't see how this is done.

Poster: Ruth
Dated: Sunday January 18 2004 - 3:06:12 GMT

when you setup your menu_data.js file it would work like this...
with(menuStyle=new mm_style()){
and so on for the fonts padding and such. Then added to that would be the various menus..the main one, and the submenus and any subsubmenus.

with(milonic=new menuname("Main")){
and whatever else as to position, always visible etc. then the text
aI("text=This site;showmenu=mysite;");

with(milonic=new menuname("mysite")){
and whatever else as to position, etc. then the text

with(milonic=new menuname("mypoems")){
and whatever else as to position, etc. then the text
aI("text=1st poem;url=www. etc;");
aI("text=2nd poem;url=www.etc;");
aI("text=short stories;showmenu=stories;");


This would give you a menu that had This Site as the main menu item, and when you moused over it, you'd get a menu that showed the word poetry and when you moused over the poetry it would give you the menu for mypoems with the links for 1st Poem and 2nd poem and short stories and when you moused over the short stories it would give you ANOTHER submenu for stories [if you make the menu of course].

innkeeper9 - little more help on the submenu please

Poster: rudy
Dated: Sunday January 18 2004 - 4:11:53 GMT

URL to menu:
When you get to this page with the meny, rollover the first tab on the left and slide down to the tab that says "Insalling XP Professional". This tab should NOT open a separate window but it does and I can't figure out why.
The showmenu=stories; does not have a url attached to it so it shouldn't open a window but it does.

I got the slide out submenu working but for some reason, the button that the slideout submenus slide off of opens separate window.
I want tha button to just be the text on the button but not open a window.

Here is the code:


_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=50                // Follow scrolling Rate
_subOffsetTop=5               // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x

with(windows98style=new mm_style()){
fontfamily="tahoma, verdana";

with(milonic=new menuname("Main Menu")){
//aI("text=Home;url=;status=Back To Home Page;");
aI("text=IT Reference Topics;showmenu=Samples;status=Reference Topics");
aI("text=XP Jeopardy;showmenu=Milonic;status=XP Jeopardy;");
aI("text=Glossary;showmenu=Links;status=Information Technology Glossary of Terms;");
aI("text=XP Diagnostic Tools;showmenu=Anti Spam;status=Administrative and Diagnostic Tools;");
aI("text=Exams Menu;url=;status=   [ Return to Windows XP Exam Menu ]  Select Exam 1 through 5 or Final Exam;");
aI("text=Logout;url=;status=Back To Home Page;");

with(milonic=new menuname("Samples")){
aI("text=Configuring Device Drivers;url=;target=_blank;targetfeatures=scrollbars=yes left=47 top=40 height=450;status=How To Install And Update Drivers;");
aI("text=Winddows XP System Restore;url=;target=_blank;targetfeatures=scrollbars=yes left=47 top=40 height=450;status=Understanding The Windows XP System Restore Feature;");
//aI("text=Jeopardy;url=;targetfeatures=width=770 height=525 top=1 left=10 toolbar=no;");
aI("text=Troubleshooting Windows XP;url=;targetfeatures=height=450 top=40 left=47 scrollbars=yes;status=Troubleshooting Windows XP Professional;");

aI("text=Installing XP Professional;showmenu=stories;");

//aI("text=Image Map Sample;url=menusample.php?sampleid=4;");
//aI("text=Multiple Styles;url=menusample.php?sampleid=5;");
//aI("text=Menus and Tool Tips;url=menusample.php?sampleid=6;");
//aI("text=Multiple Colored Menus;url=menusample.php?sampleid=7;");
//aI("text=Menu Items as Headers;url=menusample.php?sampleid=8;");
//aI("text=Windows XP Style Menus;url=menusample.php?sampleid=12;");
//aI("text=Windows 98 Style Menus;url=menusample.php?sampleid=13;");
//aI("text=Relative Positioning (Table Bound);url=menusample.php?sampleid=9;");
//aI("text=Follow Scrolling;url=menusample.php?sampleid=10;");
//aI("text=Opening Windows & Frames;url=menusample.php?sampleid=11;");
//aI("text=Hiding DIVs when displaying menus;url=menusample.php?sampleid=14;");
//aI("text=Activating MouseOver & MouseOut Functions;url=menusample.php?sampleid=15;");
//aI("text=Dynamic Dragable Menus;url=menusample.php?sampleid=22;");
//aI("text=Positioning with screenposition & offsets;url=menusample.php?sampleid=23;");
//aI("text=100% Width Span Menu;url=menusample.php?sampleid=26;");
//aI("text=Context Right Click Menu;url=menusample.php?sampleid=27;");
//aI("text=Static Images Sample;url=menusample.php?sampleid=16;");
//aI("text=Rollover/swap Images;url=menusample.php?sampleid=17;");
//aI("text=Menus built from images;url=menusample.php?sampleid=18;");
//aI("text=Images as Menu Backgrounds;url=menusample.php?sampleid=19;");
//aI("text=Background Menu Item Images;url=menusample.php?sampleid=20;");
//aI("text=short stories;showmenu=stories;");

with(milonic=new menuname("Milonic")){
aI("text=Play Windows XP Jeopardy;url=;targetfeatures=width=770 height=525 top=1 left=10 toolbar=no;status=Play Windows XP Jeopardy;");
//aI("text=Contact Us;url=;");
//aI("text=Newsletter Subscription;url=;");
//aI("text=Discussion Forum;url=;");
//aI("text=Software License Agreement;url=;");
//aI("text=Privacy Policy;url=;");

with(milonic=new menuname("Partners")){
aI("text=Acronyms Lookup;url=;target=_blank;targetfeatures=scrollbars=yes left=47 top=40 height=450;status=Acronyms Lookup;");
//aI("text=SMS 2 Email;url=;");

with(milonic=new menuname("Links")){
aI("text=Glossary Search Engine;url=;target=_blank;targetfeatures=scrollbars=yes left=47 top=40 height=450;status=Glossary Of Terms Search Engine;");
//aI("text=MySQL Database Server;url=;status=MySQL, Milonic's Prefered Choice of Database Server;");
//aI("text=PHP - Development;url=;status=PHP - Web Server Scripting as used by Milonic;");
//aI("text=phpBB Web Forum System;url=;status=PHP Based Web Forum, Milonic's Recommended Forum Software;");
//aI("text=Anti Spam Tools;showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;");

with(milonic=new menuname("Anti Spam")){
aI("text=Running Disk Management Tool;url=;targetfeatures=height=450 top=40 left=47 scrollbars=yes;status=Learn to use the Administrative and Diagnostic Tools that come with Windows XP Professional;");
//aI("text=Mime Defang;url=;");
//aI("text=Spam Assassin;url=;");

with(milonic=new menuname("My Milonic")){
//aI("text=Make Support Request;url=;");
//aI("text=View Support Requests;url=;");
//aI("text=Your Details;url=;");

with(milonic=new menuname("stories")){
aI("text=Make Support Request;url=;");
aI("text=View Support Requests;url=;");
aI("text=Your Details;url=;");


Poster: Ruth
Dated: Sunday January 18 2004 - 6:14:39 GMT

I take it you mean if you click on it then a separate window opens. I do not know why it's doing that..if you mouseover you can actually see the 'link address' http://www.networkdriven/qp/ I'm not sure if there's some function you've got on your site someplace that is doing that, because there is definately no link after that aI. And in particular there is no 'target= anyplace there to have it open a new window. Sorry. Perhaps one of the really knowledgeable guys will be able to figure it out. [though as far as the cursor is concerned they will show the hand if you ahve a showmenu=whatever, after all that is sort of a link.

One thing I would suggest. Instead of leaving all those milonic aI and commenting them out, I'd get them out of the data file because it makes it much harder since there is so much extra content to go through the file as one is trying to see where a problem is.


I gave up, Ruth

Poster: rudy
Dated: Sunday January 18 2004 - 6:31:40 GMT

Thanks for taking the time to look into my menu problem. I tried everything under the sun but it keeps opening a window on that button and that is unexceptable. It has something to do with the "taregetfeatues" and then the width, left and top positioning I have coded. When I remove those it no longer opens the window but I also then loose the window positioning on all the links.

I don't like child pages to open into the parent page (which is the full size of the screen) as so many people will simply close the page instead of clicking the back button, not realizing they are actually closing the browser. If I put my child pages on a separate window (a little smaller than the parent page) using the target=_blank code they always remember to close it and they haven't left my Web site. Hope this makes sense.

Sure would like to get it working, hope one of the teams leaders can help :(

Thanks again,