My Navigation bar just disappeared

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Paul Schwartz
Beginner
Beginner
Posts: 2
Joined: Thu Jul 07, 2005 3:51 am
Location: Tucson,AZ
Contact:

My Navigation bar just disappeared

Post by Paul Schwartz »

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: Select all

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://milonic.com/cbuy.php;");
aI("align=center;text=New Thing B;url=http://milonic.com/cbuy.php;");

}	

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

}

with(milonic=new menuname("ChurchServices")){
left=10;
orientation="horizontal";
style=menuStyle;
aI("text=Contact Us;url=http://milonic.com/contact.php;");
aI("text=Our Location;url=http://milonic.com/contact.php;");
aI("text=ELCA News;url=http://milonic.com/contact.php;");
aI("text=Today's Bible Reading;url=http://milonic.com/contact.php;");
aI("text=Today's Bible Verse;url=http://milonic.com/contact.php;");
aI("text=ELCA Prayer Ventures;url=http://milonic.com/contact.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://milonic.com/login.php;");
aI("text=Cost and Schedule;url=http://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://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://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
slackbladder
Super Advanced
Super Advanced
Posts: 72
Joined: Fri Jul 01, 2005 3:04 pm

Post by slackbladder »

Try uploading milonic_src.js again.

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

seems to be missing some code?
slackbladder
Super Advanced
Super Advanced
Posts: 72
Joined: Fri Jul 01, 2005 3:04 pm

Post by slackbladder »

Sry ignore my last post! :oops:
slackbladder
Super Advanced
Super Advanced
Posts: 72
Joined: Fri Jul 01, 2005 3:04 pm

Post by slackbladder »

In menu_data.js change this:

Code: Select all

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: Select all

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;");
}
Post Reply