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:19
can i do it in version 5 ?
Poster: Davi
Dated: Monday August 18 2003 - 1:08:50 BST
Hello all
tell me pls is it possble to to such a menu using version 5 (vertical, positioned menu) as here dental.am/test/reho/
but i need that the onmouseover effect stretches all of the gray section on the left on our website. will be like msn. com
can somebody tell me, how i can do it so that when there is no mouseover, there is no borders.. and then when there is mouse over, have there be a border around the item that the mouse is touching in a darker gray.. exactly like at microsoft.com
thanks
Poster: Hergio
Dated: Monday August 18 2003 - 14:37:19 BST
I dont understand what you mean by msn.com like. I went to msn.com and see nothing with stretching. But to get the menu effect you are describing, see this menu sample. http://www.milonic.com/menusample.php?sampleid=12 This is the XPmenu sample and it has what you are talking about. Best of luck.
Poster: Davi
Dated: Monday August 18 2003 - 18:15:14 BST
sorry ,... i mean microsoft.com.
i make it in version5. but now here is another problem.
i main menu i make 6 menu sections(home,home1----home5). each of them have submenu.
problem is that ... the first submenu don't work:-(
can u tell me why ?
I try to change it and start such this
1.home
2.home1 ->submenu
3.home2-->submenu
4.home3-->submenu
but just now doesn't work second section submenu [home1-->submenu]
it means that every time doesn't show the first submenu? why ?
pls help.
code is such this
in html
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=300;
alwaysvisible=1;
orientation="vertical";
position="relative";
aI("text=Home;url=index.html;status=Back To Home Page;showmenu=Home;");
aI("text=Home1;url=index1.html;showmenu=Home1;");
aI("text=Home2;url=index2.html;showmenu=Home3;");
aI("text=Home3;url=index3.html;showmenu=Home4;");
aI("text=Home4;url=index4.html;showmenu=Home4;");
aI("text=Home5;url=index5.html;showmenu=Home5;");
}
drawMenus();
</script>
===================
menu_data.js
_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(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="menuimages/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("Samples")){
style=menuStyle;
overflow="scroll";
aI("text=Horizontal Navigation Bar;url=menusample.php?sampleid=1;");
aI("text=Vertical Navigation Bar;url=menusample.php?sampleid=2;");
aI("text=Static HTML Object Based;url=menusample.php?sampleid=3;");
aI("text=Image Map Sample;url=menusample.php?sampleid=4;");
aI("text=Multiple Styles;url=menusample.php?sampleid=5;");
aI("text=Multiple Properties;url=menusample.php?sampleid=6;");
aI("text=Multiple Colors;url=menusample.php?sampleid=7;");
aI("text=Menu Items as Headers;url=menusample.php?sampleid=8;");
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=XP Style;url=menusample.php?sampleid=12;");
aI("text=Windows 98 Style;url=menusample.php?sampleid=13;");
aI("text=Windows 3.1 Style;url=menusample.php?sampleid=14;");
aI("text=Activating MouseOver & MouseOut Functions;url=menusample.php?sampleid=15;");
aI("text=Static Images Sample;url=menusample.php?sampleid=16;");
aI("text=RollOver Images;url=menusample.php?sampleid=17;");
aI("text=All 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=Rounded Edges;url=menusample.php?sampleid=21;");
}
with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
aI("text=Newsletter Subscription;url=http://www.milonic.com/newsletter.php;");
aI("text=FAQ;url=http://www.milonic.com/menufaq.php;");
aI("text=Discussion Forum;url=http://www.milonic.com/forum/;");
aI("text=Software License Agreement;url=http://www.milonic.com/license.php;");
aI("text=Privacy Policy;url=http://www.milonic.com/privacy.php;");
}
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.net/;");
}
with(milonic=new menuname("Links")){
style=menuStyle;
aI("text=Apache Web Server;url=http://www.apache.org/;status=Apache Web Server, the basis of Milonic's Web Site;");
aI("text=MySQL Database Server;url=http://ww.mysql.com/;status=MySQL, Milonic's Prefered Choice of Database Server;");
aI("text=PHP - Development;url=http://www.php.net/;status=PHP - Web Server Scripting as used by Milonic;");
aI("text=phpBB Web Forum System;url=http://www.phpbb.net/;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")){
style=menuStyle;
aI("text=Spam Cop;url=http://www.spamcop.net/;");
aI("text=Mime Defang;url=http://www.mimedefang.org/;");
aI("text=Spam Assassin;url=http://www.spamassassin.org/;");
}
with(milonic=new menuname("My Milonic")){
style=menuStyle;
aI("text=Login;url=http://www.milonic.com/login.php;");
aI("text=Licenses;url=http://www.milonic.com/mylicenses.php;");
aI("text=Invoices;url=http://www.milonic.com/myinvoices;");
aI("text=Make Support Request;url=http://www.milonic.com/reqsupport.php;");
aI("text=View Support Requests;url=http://www.milonic.com/mysupport.php;");
aI("text=Your Details;url=http://www.milonic.com/mydetails.php;");
}
drawMenus();
Poster: Davi
Dated: Monday August 18 2003 - 18:17:42 BST
url
dental.am/test/reho/index17.html
thanks
Poster: Hergio
Dated: Monday August 18 2003 - 19:12:51 BST
Quote:
aI("text=Home;url=index.html;status=Back To Home Page;showmenu=Home;");
You have no menu called Home. Thats the problem.
Poster: Davi
Dated: Monday August 18 2003 - 23:41:03 BST
i add this in data.js. and it works
but when i try workink offline (on local machine it's gives some error ... on the status bar of the browser). online everythink is oki.
??? why ? may be i add somethink wrong?
with(milonic=new menuname("Main Menu")){
style=menuStyle;
aI("text=Fome;url=index.html;status=Back To Home Page;showmenu=Home;");
aI("text=Home1;url=index1.html;showmenu=Home1;");
aI("text=Home2;url=index2.html;showmenu=Home3;");
aI("text=Home3;url=index3.html;showmenu=Home4;");
aI("text=Home4;url=index4.html;showmenu=Home4;");
aI("text=Home5;url=index5.html;showmenu=Home5;");
}