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:11
Problems centering menu with screenposition command.
Poster: bikeal
Dated: Friday September 19 2003 - 7:01:40 BST
I have been successful in getting the menu to align to the top left corner of the screen using the following code:
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=0;
left=0;
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
top=0;
left=0;
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
But I can't get the code to align in the top center of the page? I tried adding the screenposition command but it didn't work? Any suggestions?
My test webpage is
http://www3.telus.net/janeal/test
Thanks,
Al
Poster: 4viggo
Dated: Friday September 19 2003 - 9:30:31 BST
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center,top";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.milonic.com/;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
works fine for me
Poster: bikeal
Dated: Friday September 19 2003 - 14:51:24 BST
Thanks,
I have added that code you recommended, and it has aligned the menu in the top center, but the menu now has extra padding? Why does it do that? It was less thick before I added the screenposition line?
Also, is there a way to make the menu automatically stretch across the entire screen
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center,top";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
screenposition="center,top";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
http://www3.telus.net/janeal/test
Thanks,
Al
Poster: Maz
Dated: Friday September 19 2003 - 17:14:40 BST
Check the home page for reference on
menuwidth="100%"
overallwidth="100%"
Regards
maz
Poster: bikeal
Dated: Friday September 19 2003 - 18:55:38 BST
It seems when I refresh the page, the thickness of the menu changes? Why does it do that?
Where would I add the
menuwidth="100%"
overallwidth="100%"
My test url is http://www3.telus.net/janeal
Thanks,
Al
My Code so far:
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=40 // Follow scrolling Rate
_subOffsetTop=10 // 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="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=menuStyle;
screenposition="center,top";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www3.telus.net/janeal/index.html;status=Back To Home Page;");
aI("text=Family;showmenu=Family;");
aI("text=Genealogy;showmenu=Genealogy;");
aI("text=Ham Radio;showmenu=Ham Radio;");
aI("text=Nursing;showmenu=Nursing;");
aI("text=Guest Book;showmenu=Guest Book;");
aI("text=Contact Us;showmenu=Contact Us;");
}
with(milonic=new menuname("Family")){
style=menuStyle;
overflow="scroll";
aI("text=Home;url=http://www3.telus.net/janeal/family.html;status=Family Home Page;");
aI("text=Web Links;url=http://www3.telus.net/janeal/familylinks.html;status=Family Web Links Page;");
}
with(milonic=new menuname("Genealogy")){
style=menuStyle;
aI("text=Home;url=http://www3.telus.net/janeal/genealogy.html;status=Geneaology Home Page;");
aI("text=Books;showmenu=Genealogy Books;status=Genealogy Books from Amazon.com;");
aI("text=Chat Room;url=http://pub8.bravenet.com/chat/show.php/676819383;target=_blank;status=Genealogy Chat Room (Opens a new window);");
aI("text=Currency Converter;url=http://www3.telus.net/janeal/currency.html;status=Currency Converter;");
aI("text=Ebay;showmenu=Ebay;status=Genealogy Items available from Ebay;");
aI("text=Forum;url=http://pub8.bravenet.com/forum/show.php?usernum=676819383&cpv=2;target=_blank;status=Genealogy Forum (Opens a new window);");
aI("text=Magazines;url=http://www.amazon.com/exec/obidos/redirect?tag=aljan07-20&path=tg/browse/-/1116312;target=_blank;status=Genealogy Magazines from Amazon.com (Opens a new window);");
aI("text=Our Genealogy;url=http://www3.telus.net/janeal/genealogy/index.htm;status=Our Geneaology;");
aI("text=Software;url=http://www.amazon.com/exec/obidos/redirect?tag=aljan07-20&path=tg/browse/-/229627;target=_blank;status=Genealogy Software from Amazon.com (Opens a new window);");
aI("text=Web Links;url=http://www3.telus.net/janeal/genealogy_links.html;status=Geneaology Web Links;");
aI("text=Web Rings;url=http://www3.telus.net/janeal/genealogy_rings.html;status=Geneaology Web Rings;");
}
with(milonic=new menuname("Genealogy Books")){
style=menuStyle;
aI("text=General;url=http://www.amazon.com/exec/obidos/redirect?tag=aljan07-20&path=tg/browse/-/11881;target=_blank;status=General Books on Genealogy from Amazon.com (Opens a new window);");
aI("text=Heraldy;url=http://www.amazon.com/exec/obidos/redirect?tag=aljan07-20&path=tg/browse/-/11884;target=_blank;status=Heraldy books on Genealogy from Amazon.com (Opens a new window);");
aI("text=Online Research;url=http://www.amazon.com/exec/obidos/redirect?tag=aljan07-20&path=tg/browse/-/11886;target=_blank;status=Online Genealogy Research Books from Amazon.com (Opens a new window);");
}
with(milonic=new menuname("Ebay")){
style=menuStyle;
aI("text=Births, Marriages, Deaths;url=http://listings.ebay.com/pool3/plistings/list/all/category20926/index.html?from=R12;target=_blank;status=Births, Marriages, Deaths items on Ebay.com (Opens a new window);");
aI("text=Census Records;url=http://listings.ebay.com/pool3/plistings/list/all/category20927/index.html?from=R12;target=_blank;status=Census Records on Ebay.com (Opens a new window);");
aI("text=City, State Directories;url=http://listings.ebay.com/pool3/plistings/list/all/category20928/index.html?from=R12;target=_blank;status=City, State Directories on Ebay.com (Opens a new window);");
aI("text=Immigration, Passenger Lists;url=http://listings.ebay.com/pool3/plistings/list/all/category20929/index.html?from=R12;target=_blank;status=Immigration, Passenger Lists on Ebay.com (Opens a new window);");
aI("text=Maps;url=http://listings.ebay.com/pool3/plistings/list/all/category20930/index.html?from=R12;target=_blank;status=Maps on Ebay.com (Opens a new window);");
aI("text=Military Records;url=http://listings.ebay.com/pool3/plistings/list/all/category20931/index.html?from=R12;target=_blank;status=Military Records on Ebay.com (Opens a new window);");
aI("text=Other Genealogy Items;url=http://listings.ebay.com/pool3/plistings/list/all/category2980/index.html?from=R12;target=_blank;status=Other Genealogy Items on Ebay.com (Opens a new window);");
}
with(milonic=new menuname("Ham Radio")){
style=menuStyle;
aI("text=Home;url=http://www3.telus.net/janeal/ham.html;status=Ham Radio Home Page;");
aI("text=Books;url=http://www.amazon.com/exec/obidos/redirect?tag=aljan07-20&path=tg/browse/-/171100/1%3Frank%3D%252Bsalesrank%26submit.x%3D7%26submit.y%3D12;target=_blank;status=Ham Radio Books from Amazon.com (Opens a new window);");
aI("text=Call Sign Look-Up;url=http://www3.telus.net/janeal/ham_call.html;status=Ham Radio Call Sign Look-Up;");
aI("text=Chat Room;url=http://pub40.bravenet.com/chat/show.php/3366185344;target=_blank;status=Ham Radio Chat Room (Opens a new window);");
aI("text=Currency Converter;url=http://www3.telus.net/janeal/currency.html;status=Currency Converter;");
aI("text=Ebay;showmenu=Ebay Ham;status=Genealogy Items available from Ebay;");
aI("text=Forum;url=http://pub40.bravenet.com/forum/show.php?usernum=3366185344&cpv=2;target=_blank;status=Ham Radio Forum (Opens a new window);");
aI("text=Magazines;url=http://www.amazon.com/exec/obidos/redirect?tag=aljan07-20&path=search-handle-url/index%253Dmagazines%2526field-keywords%253Damateur%252Bradio%2526url%253Dindex%253Dmagazines%2526store-name%253Dmagazines;target=_blank;status=Ham Radio Magazines from Amazon.com (Opens a new window);");
aI("text=Swap & Shop / Classified Ads;showmenu=Swap;status=Swap & Shop / Classified Ads;");
aI("text=Software;url=http://www.amazon.com/exec/obidos/redirect?tag=aljan07-20&path=tg/browse/-/229627;target=_blank;status=Genealogy Software from Amazon.com (Opens a new window);");
aI("text=Web Links;url=http://www3.telus.net/janeal/ham_links.html;status=Ham Radio Web Links;");
aI("text=Web Rings;url=http://www3.telus.net/janeal/ham_rings.html;status=Ham Radio Web Rings;");
aI("text=World Time Map;url=http://www3.telus.net/janeal/ham_timemap.html;status=World Time Map;");
}
with(milonic=new menuname("Ebay Ham")){
style=menuStyle;
overflow="scroll";
aI("text=Antennas;url=http://listings.ebay.com/pool2/plistings/list/all/category4672/index.html?from=R4;target=_blank;status=Antennas on Ebay.com (Opens a new window);");
aI("text=Batteries & Chargers;url=http://listings.ebay.com/pool2/plistings/list/all/category48703/index.html?from=R4;target=_blank;status=Batteries & Chargers on Ebay.com (Opens a new window);");
aI("text=Books & Manuals;url=http://listings.ebay.com/pool2/plistings/list/all/category15050/index.html?from=R4;target=_blank;status=Books & Manuals on Ebay.com (Opens a new window);");
aI("text=Cables & Adapters;url=http://listings.ebay.com/pool2/plistings/list/all/category48704/index.html?from=R4;target=_blank;status=Cables & Adapters on Ebay.com (Opens a new window);");
aI("text=Headsets & Earbuds;url=http://listings.ebay.com/pool2/plistings/list/all/category48705/index.html?from=R4;target=_blank;status=Headsets & Earbuds on Ebay.com (Opens a new window);");
aI("text=Keys;url=http://listings.ebay.com/pool2/plistings/list/all/category48706/index.html?from=R4;target=_blank;status=Keys on Ebay.com (Opens a new window);");
aI("text=Microphones;url=http://listings.ebay.com/pool2/plistings/list/all/category48707/index.html?from=R4;target=_blank;status=Microphones on Ebay.com (Opens a new window);");
aI("text=Power Supply, Deaths;url=http://listings.ebay.com/pool2/plistings/list/all/category48708/index.html?from=R4;target=_blank;status=Power Supply on Ebay.com (Opens a new window);");
aI("text=Speakers;url=http://listings.ebay.com/pool2/plistings/list/all/category48709/index.html?from=R4;target=_blank;status=Speakers on Ebay.com (Opens a new window);");
aI("text=Other Accessories;url=http://listings.ebay.com/pool2/plistings/list/all/category4671/index.html?from=R4;target=_blank;status=Other Accessories on Ebay.com (Opens a new window);");
aI("text=Amplifiers;url=http://listings.ebay.com/pool2/plistings/list/all/category48700/index.html?from=R4;target=_blank;status=Amplifiers on Ebay.com (Opens a new window);");
aI("text=Meters;url=http://listings.ebay.com/pool2/plistings/list/all/category48701/index.html?from=R4;target=_blank;status=Meters on Ebay.com (Opens a new window);");
aI("text=Oscillators & Filters;url=http://listings.ebay.com/pool2/plistings/list/all/category48702/index.html?from=R4;target=_blank;status=Oscillators & Filters on Ebay.com (Opens a new window);");
aI("text=Receivers;url=http://listings.ebay.com/pool2/plistings/list/all/category4673/index.html?from=R4;target=_blank;status=Receivers on Ebay.com (Opens a new window);");
aI("text=Transceivers - ICOM, Deaths;url=http://listings.ebay.com/pool2/plistings/list/all/category40066/index.html?from=R4;target=_blank;status=Transceivers - ICOM on Ebay.com (Opens a new window);");
aI("text=Transceivers - Kenwood;url=http://listings.ebay.com/pool2/plistings/list/all/category40067/index.html?from=R4;target=_blank;status=Transceivers - Kenwood on Ebay.com (Opens a new window);");
aI("text=Transceivers - Motorola;url=http://listings.ebay.com/pool2/plistings/list/all/category40068/index.html?from=R4;target=_blank;status=Transceivers - Motorola on Ebay.com (Opens a new window);");
aI("text=Transceivers - Yaesu;url=http://listings.ebay.com/pool2/plistings/list/all/category40069/index.html?from=R4;target=_blank;status=Transceivers - Yaesu on Ebay.com (Opens a new window);");
aI("text=Transceivers - Other;url=http://listings.ebay.com/pool2/plistings/list/all/category4674/index.html?from=R4;target=_blank;status=Transceivers - Other on Ebay.com (Opens a new window);");
aI("text=Transmitters;url=http://listings.ebay.com/pool2/plistings/list/all/category4675/index.html?from=R4;target=_blank;status=Transmitters on Ebay.com (Opens a new window);");
aI("text=Tubes;url=http://listings.ebay.com/pool2/plistings/list/all/category48710/index.html?from=R4;target=_blank;status=Tubes on Ebay.com (Opens a new window);");
aI("text=Tuners;url=http://listings.ebay.com/pool2/plistings/list/all/category48711/index.html?from=R4;target=_blank;status=Tuners on Ebay.com (Opens a new window);");
aI("text=Other Ham Radio;url=http://listings.ebay.com/pool2/plistings/list/all/category1502/index.html?from=R4;target=_blank;status=Other Ham Radio on Ebay.com (Opens a new window);");
}
with(milonic=new menuname("Swap")){
style=menuStyle;
aI("text=Swap & Shop - Canada;url=http://pub40.bravenet.com/classified/show.php?usernum=3366185344&cp=1;target=_blank;status=Swap & Shop - Canada (Opens a new window);");
aI("text=Swap & Shop - U.S.A.;http://pub8.bravenet.com/classified/show.php?usernum=676819383&cpv=2;target=_blank;status=Swap & Shop - U.S.A. (Opens a new window);");
}
with(milonic=new menuname("Nursing")){
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("Guest Book")){
style=menuStyle;
margin=20;
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.php;");
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;");
}
with(milonic=new menuname("Contact Us")){
style=menuStyle;
margin=20;
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.php;");
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: Hergio
Dated: Friday September 19 2003 - 19:48:56 BST
The reason its thicker is because you are using the same style for ALL your menus and that style has Fade as one of its overfilters. Look at it this way, you have a style that has an overfilter that incorporates Fade, right? The only time Fade would be used is on menus that disappear and appear, right? So why should your main menu (which is Always visible) use the fade. We've seen this cause problems before...so make a copy of your style, rename it and remove the Fade from the over filter and remove the outfilter entirely. Then make your main menu use this new style.
Regarding the stretch. I dont think this has been correctly implemented yet. But you can Almost get it by setting the itemwidth to 100% on your last item or setting overallwidth to 100%. DO a search on the v5 forums for articles I authored with itemwidth and 100% in them and that should get your goin.
Poster: bikeal
Dated: Friday September 19 2003 - 20:08:05 BST
I've tried changing the over & out filter, but the results are the same
Here is the test URL http://www3.telus.net/janeal/test
Here is the modified code as well I tried the overall width command of 100% but it didn't work?
Thanks
Al
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=40 // Follow scrolling Rate
_subOffsetTop=10 // 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="arrow.gif";
subimagepadding="2";
overfilter="Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
overallwidth="100%"
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center,top";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www3.telus.net/janeal/index.html;status=Back To Home Page;");
aI("text=Family;showmenu=Family;");
aI("text=Genealogy;showmenu=Genealogy;");
aI("text=Ham Radio;showmenu=Ham Radio;");
aI("text=Nursing;showmenu=Nursing;");
aI("text=Guest Book;showmenu=Guest Book;");
aI("text=Contact Us;showmenu=Contact Us;");
}
[/url]
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=40 // Follow scrolling Rate
_subOffsetTop=10 // 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="arrow.gif";
subimagepadding="2";
overfilter="Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
overallwidth="100%"
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="center,top";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www3.telus.net/janeal/index.html;status=Back To Home Page;");
aI("text=Family;showmenu=Family;");
aI("text=Genealogy;showmenu=Genealogy;");
aI("text=Ham Radio;showmenu=Ham Radio;");
aI("text=Nursing;showmenu=Nursing;");
aI("text=Guest Book;showmenu=Guest Book;");
aI("text=Contact Us;showmenu=Contact Us;");
}
Poster: Maz
Dated: Friday September 19 2003 - 20:46:33 BST
Try the other option place itemwidth=100%; in the last item Contact Us.
If overallwidth works its probably in Main Menu next to horizontal.
Start by duplicating menu style and change the second style name to something like submenustyle and change stylename in the submenus.
I added fade as directed by Dave for the main menu and submenu.
Can you follow this:
with(menuStyle=new mm_style()){
.
.
.
overfilter="Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
with(submenuStyle=new mm_style()){
.
.
.
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
new name for submenus:
with(milonic=new menuname("Family")){
style=submenuStyle;
Poster: bikeal
Dated: Friday September 19 2003 - 21:30:22 BST
Is this what you meant? I tried this but it caused the menu not to show up on my test page?
Al
http://www3.telus.net/janeal/test
Code:
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="arrow.gif";
subimagepadding="2";
overfilter="Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
}
with(submenuStyle=new mm_style()){
style=menuStyle;
itemwidth= "94%";
menuwidth= "94%";
borderwidth = 0;
screenposition = "center";
alignment = "center";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www3.telus.net/janeal/index.html;status=Back To Home Page;");
aI("text=Family;showmenu=Family;");
aI("text=Genealogy;showmenu=Genealogy;");
aI("text=Ham Radio;showmenu=Ham Radio;");
aI("text=Nursing;showmenu=Nursing;");
aI("text=Guest Book;showmenu=Guest Book;");
aI("text=Contact Us;showmenu=Contact Us;");
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("Family")){
style=submenuStyle;
overflow="scroll";
aI("text=Home;url=http://www3.telus.net/janeal/family.html;status=Family Home Page;");
aI("text=Web Links;url=http://www3.telus.net/janeal/familylinks.html;status=Family Web Links Page;");
}
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="arrow.gif";
subimagepadding="2";
overfilter="Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
}
with(submenuStyle=new mm_style()){
style=menuStyle;
itemwidth= "94%";
menuwidth= "94%";
borderwidth = 0;
screenposition = "center";
alignment = "center";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www3.telus.net/janeal/index.html;status=Back To Home Page;");
aI("text=Family;showmenu=Family;");
aI("text=Genealogy;showmenu=Genealogy;");
aI("text=Ham Radio;showmenu=Ham Radio;");
aI("text=Nursing;showmenu=Nursing;");
aI("text=Guest Book;showmenu=Guest Book;");
aI("text=Contact Us;showmenu=Contact Us;");
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("Family")){
style=submenuStyle;
overflow="scroll";
aI("text=Home;url=http://www3.telus.net/janeal/family.html;status=Family Home Page;");
aI("text=Web Links;url=http://www3.telus.net/janeal/familylinks.html;status=Family Web Links Page;");
}
Poster: Hergio
Dated: Saturday September 20 2003 - 4:56:30 BST
I just went to your page and the menu shows up but it still has the problem. I went into the code and the solution I described hasn't been implemented. I will explain in detail. I am assuming you are starting with working code, because that last post of code was definetly not right.
Take your current style (menuStyle), and COPY it and paste it below the original...rename this NEW style to something different, say, mainStyle. Now in this NEW style, go down to the overfilter and REMOVE FADE from it, and remove the outfilter line entirely. So right now we have two styles, with different names. The new style, called mainStyle, is identical to the original except that FADE has been REMOVED from the overfilter and the outfilter line has been removed or commented out. Okay?
Now in your main menu, change its style to say style=mainStyle. This will cause your top most menu to use the new style, which is the one that we took the fade and outfilter out of. This will remedy your problem. Hope this helps.
Poster: bikeal
Dated: Saturday September 20 2003 - 6:53:45 BST
This is what I did, but am still having the same problem.
Al
[url]http:/www3.telus.net/janeal/test[/url]
Code:
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="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(mainStyle=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="arrow.gif";
subimagepadding="2";
overfilter="Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
}
with(milonic=new menuname("Main Menu")){
style=mainStyle;
screenposition="center,top";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www3.telus.net/janeal/index.html;status=Back To Home Page;");
aI("text=Family;showmenu=Family;");
aI("text=Genealogy;showmenu=Genealogy;");
aI("text=Ham Radio;showmenu=Ham Radio;");
aI("text=Nursing;showmenu=Nursing;");
aI("text=Guest Book;showmenu=Guest Book;");
aI("text=Contact Us;showmenu=Contact Us;");
}
with(milonic=new menuname("Family")){
style=menuStyle;
overflow="scroll";
aI("text=Home;url=http://www3.telus.net/janeal/family.html;status=Family Home Page;");
aI("text=Web Links;url=http://www3.telus.net/janeal/familylinks.html;status=Family Web Links Page;");
}
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="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(mainStyle=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="arrow.gif";
subimagepadding="2";
overfilter="Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
}
with(milonic=new menuname("Main Menu")){
style=mainStyle;
screenposition="center,top";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www3.telus.net/janeal/index.html;status=Back To Home Page;");
aI("text=Family;showmenu=Family;");
aI("text=Genealogy;showmenu=Genealogy;");
aI("text=Ham Radio;showmenu=Ham Radio;");
aI("text=Nursing;showmenu=Nursing;");
aI("text=Guest Book;showmenu=Guest Book;");
aI("text=Contact Us;showmenu=Contact Us;");
}
with(milonic=new menuname("Family")){
style=menuStyle;
overflow="scroll";
aI("text=Home;url=http://www3.telus.net/janeal/family.html;status=Family Home Page;");
aI("text=Web Links;url=http://www3.telus.net/janeal/familylinks.html;status=Family Web Links Page;");
}
Poster: John
Dated: Saturday September 20 2003 - 16:24:14 BST
I can see your menu system just fine. The only problem I note is both Guest Book and Contact Us still have a margin=20; parameter, which puts them quite out of place from the other menus.
Poster: Hergio
Dated: Saturday September 20 2003 - 21:28:58 BST
I copied your menu data file to my system and ran it...no problems whatsoever. The only reason I can think of is you are using RC6 when we are currently in RC11. There have been some definite change since then, so I would definitely upgrade your milonic_src and mmenudom,mmenuns4 files to current. If you have a license, you can just download again. If you don't, then you can download an evaluation copy now from the website at download.php.