Two Problems

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
terrykemm
Beginner
Beginner
Posts: 1
Joined: Thu Feb 26, 2009 3:10 pm

Two Problems

Post by terrykemm »

I have two problems I can not figure out. I search the forum and found similar situations but those answers did not resolve my problem. The website is http://www.go2pro.org/index1.htm

1. When I click on a menu item I want it to launch in a new window. I did add target=new to menu_data.js and that did not seem to resolve the situational, it still opens in the current window.

2. I have a sub menu which when I do the mouse over it only displays the sub menu some times. I found a previous problem like this and I did place position="relative"; in the file. This did not seem to help my situational.

I also do not see any syntax error.

I have run out of things to try...... :idea:

Thanks
Terry

-------------------------------------------------------------------menu_data.js--------------------------------------------------------

fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#eeeeee";
offcolor="#000000";
onbgcolor="#ddffdd";
oncolor="#000099";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="http://img.milonic.com/arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
position="relative";
style=menuStyle;
aI("text=Home;url=http://www.go2pro.org/;");
aI("text=History;url=http://www.go2pro.org/history.htm;target=new;");
aI("text=Purpose;url=http://www.go2pro.org/purpose.htm;target=new;");
aI("text=Profile;url=http://www.go2pro.org/profile.htm;target=new;");
aI("text=Fans;url=http://www.go2pro.org/fans.htm;target=new;");
aI("text=Membership;url=http://www.go2pro.org/membership.htm;target=new;");
aI("text=Newsletters;url=http://www.go2pro.org/newsletters.htm;target=new;");
aI("text=Calendar;url=http://www.my.calendars.net/procalendar;target=new;");
aI("showmenu=PROTos;text=PROTos;target=new;");
}

with(milonic=new menuname("PROTos")){
overflow="scroll";
style=menuStyle;
aI("text=2001;url=http://www.go2pro.org/2001.htm;target=new;")
aI("text=2002;url=http://www.go2pro.org/2002.htm")
aI("text=2003;url=http://www.go2pro.org/2003.htm")
aI("text=2004;url=http://www.go2pro.org/2004.htm")
aI("text=2005;url=http://www.go2pro.org/2005.htm")
aI("text=2006;url=http://www.go2pro.org/2006.htm")
aI("text=2007;url=http://www.go2pro.org/2007.htm")
aI("text=2008;url=http://www.go2pro.org/2008.htm")
aI("text=2009;url=http://www.go2pro.org/2009.htm")
aI("text=Winner Circle;url=http://www.go2pro.org/winner_circle.htm")

}



drawMenus();
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Two Problems

Post by Andy »

Hi,

Both problems are related to the same issue.

You have an embedded table based menu but have not followed the correct procedure for table based menus.

Please see http://milonic.com/tablemenu.php for details on embedding a menu within a table.

HTH,
Andy
Post Reply