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

My Navigation bar just disappeared


Poster: Paul Schwartz
Dated: Saturday July 9 2005 - 1:01:02 BST

Hi folks,

I had the navigation bar working just great. I had a banner taking up the first 79 pixeles so I set left=10 and Top=80. The itemwidth is set to 40. So I created a table with width 100% and height =40 and had nothing in it except an &NSBP;. The horizontal bar fit into it nicely. I was then able to create additional pictures and text below the Horizontal navbar. It was all great. The dropdowns were great. Then suddenly all is there except no more bbar. I can't figure out what stupid thing I must have done.

You can view my experimental page at:
http://robsoncom.net/~pandn/navbartest.htm.

Code:
menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




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

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=80;
aI("status=Back to Home Page;text=Home;url=http://www.robsoncom.net/~pandn/index.htm;");
aI("showmenu=WhatsNew;text=What's <br>New?;");
aI("showmenu=Pastorsmessage;text=Pastors<br> Message;");
aI("showmenu=ChurchServices;text=Church<br> Services;");
aI("showmenu=Music;text=Music;");
aI("showmenu=Academy;text=Academy;");
aI("showmenu=NewtoSite;text=New to Site?;");
aI("showmenu=MemorialGarden;text=Memorial<br> Garden;");
aI("showmenu=OurMinistries;text=Our<br> Ministries;");
aI("showmenu=ChurchCalendar;text=Church<br> Calendar;url=http://my.calendars.net/bslc_calen");
aI("showmenu=KidsKorner;text=Kids<br>
Korner;url=http://www.robsoncom.net/~pandn/kids.htm");
aI("showmenu=MeetOurMembers;text=Meet Our<br> Members;");
}

with(milonic=new menuname("WhatsNew")){
left=10;
orientation="horizontal";
style=menuStyle;
aI("align=center;text=New Thing A;url=http://www.milonic.com/cbuy.php;");
aI("align=center;text=New Thing B;url=http://www.milonic.com/cbuy.php;");

}   

with(milonic=new menuname("Pastorsmessage")){
left=10;
orientation="horizontal";
style=menuStyle;
aI("align=center;text=Welcome;url=http://www.milonic.com/cbuy.php;");
aI("text=Our Mission;url=http://www.milonic.com/contactus.php;");
aI("align=center;text=A Word From Pastor Dan;url=http://www.milonic.com/newsletter.php;");

}

with(milonic=new menuname("ChurchServices")){
left=10;
orientation="horizontal";
style=menuStyle;
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
aI("text=Our Location;url=http://www.milonic.com/contactus.php;");
aI("text=ELCA News;url=http://www.milonic.com/contactus.php;");
aI("text=Today's Bible Reading;url=http://www.milonic.com/contactus.php;");
aI("text=Today's Bible Verse;url=http://www.milonic.com/contactus.php;");
aI("text=ELCA Prayer Ventures;url=http://www.milonic.com/contactus.php;");
}

with(milonic=new menuname("Music")){
orientation="horizontal";
style=menuStyle;
aI("text=Choral Service of Worship;url=http://www.spamcop.net/;");
aI("text=Choir Photos;url=http://www.mimedefang.org/;");
aI("text=Letter of Thanks;url=http://www.spamassassin.org/;");
}

with(milonic=new menuname("Academy")){
left=10;
orientation="horizontal";
style=menuStyle;
aI("text=Our Staff;url=http://www.milonic.com/login.php;");
aI("text=Cost and Schedule;url=http://www.milonic.com/mylicenses.php;");
}

with(milonic=new menuname("MemorialGarden")){
left=10;
orientation="horizontal";
style=menuStyle;
aI("text=Info Brochure;url=Milomic.com/login.php;");
aI("text=MG Purchase Agreement;url=http://www.milonic.com/mylicenses.php;");
aI("text=MG Payment Plan;url=Milomic.com/login.php;");
}   



with(milonic=new menuname("OurMinistries")){
left=10;
orientation="horizontal";
style=menuStyle;
aI("text=Property;url=Milomic.com/login.php;");
aI("text=Special<br>Concerns;url=http://www.milonic.com/mylicenses.php;");
aI("text=Academy;url=Milomic.com/login.php;");
aI("text=Youth;url=Milomic.com/login.php;");
aI("text=Library;url=Milomic.com/login.php;");
aI("text=Stewardship;url=Milomic.com/login.php;");
aI("text=Chancel<br>Choir;url=Milomic.com/login.php;");
aI("text=Men's;url=Milomic.com/login.php;");
aI("text=Women<br> of ELCA;url=Milomic.com/login.php;");
aI("text=Memorial<br>Garden;url=Milomic.com/login.php;");
aI("text=Council;url=Milomic.com/login.php;");

}   

drawMenus();


Above is code from menu_data.

Please help. I told several people that I had it working.

TIA

Paul


Poster: slackbladder
Dated: Saturday July 9 2005 - 11:40:19 BST

Try uploading milonic_src.js again.

http://robsoncom.net/~pandn/milonic_src.js

seems to be missing some code?


Poster: slackbladder
Dated: Saturday July 9 2005 - 11:42:38 BST

Sry ignore my last post! :oops:


Poster: slackbladder
Dated: Saturday July 9 2005 - 12:07:08 BST

In menu_data.js change this:

Code:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=80;
aI("status=Back to Home Page;text=Home;url=http://www.robsoncom.net/~pandn/index.htm;");
aI("showmenu=WhatsNew;text=What's <br>New?;");
aI("showmenu=Pastorsmessage;text=Pastors<br> Message;");
aI("showmenu=ChurchServices;text=Church<br> Services;");
aI("showmenu=Music;text=Music;");
aI("showmenu=Academy;text=Academy;");
aI("showmenu=NewtoSite;text=New to Site?;");
aI("showmenu=MemorialGarden;text=Memorial<br> Garden;");
aI("showmenu=OurMinistries;text=Our<br> Ministries;");
aI("showmenu=ChurchCalendar;text=Church<br> Calendar;url=http://my.calendars.net/bslc_calen");
aI("showmenu=KidsKorner;text=Kids<br>
Korner;url=http://www.robsoncom.net/~pandn/kids.htm");
aI("showmenu=MeetOurMembers;text=Meet Our<br> Members;");
}


to this:

Code:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=10;
orientation="horizontal";
style=menuStyle;
top=80;
aI("status=Back to Home Page;text=Home;url=http://www.robsoncom.net/~pandn/index.htm;");
aI("showmenu=WhatsNew;text=What's <br>New?;");
aI("showmenu=Pastorsmessage;text=Pastors<br> Message;");
aI("showmenu=ChurchServices;text=Church<br> Services;");
aI("showmenu=Music;text=Music;");
aI("showmenu=Academy;text=Academy;");
aI("showmenu=NewtoSite;text=New to Site?;");
aI("showmenu=MemorialGarden;text=Memorial<br> Garden;");
aI("showmenu=OurMinistries;text=Our<br> Ministries;");
aI("showmenu=ChurchCalendar;text=Church<br>Calendar;url=http://my.calendars.net/bslc_calen");
aI("showmenu=KidsKorner;text=Kids<br>Korner;url=http://www.robsoncom.net/~pandn/kids.htm");
aI("showmenu=MeetOurMembers;text=Meet Our<br> Members;");
}