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:21
Opening pages in new windows + milonic + wrk around pop kill
Poster: smarin
Dated: Wednesday June 30 2004 - 22:16:31 BST
Ok here is my problem.
I was having a problem with my java scripts that pull up new windows being blocked by pop up blockers and windows new service pack 2. So I started working with Milonic looking to replace my CSS menu. I was working with the free version making sure that I would be able to manipulate it so that new windows are not being block and I think I found a way.
aI("text=Site Search;url=/Search/default.asp;target=_blank;");
So I purchase the license update my files and low and behold it breaks my links. He is the first few lines of my menu_data.
with(milonic=new menuname("Main Menu Bar")){
style=menuStyle;
screenposition="top;left"
alwaysvisible=1;
orientation="horizontal";
aI("text=Home Page;url=http://www.ugaais.com;");
aI("text=Main Menu;showmenu=Main Menu;");
aI("text=Agency Info;showmenu=Agency Info;");
aI("text=Shop Online;showmenu=Shop Online;");
aI("text=Agent Studio; url=/Agent/default.asp;target=_blank;");
aI("text=Rating;showmenu=Rating;");
aI("text=Support Center;showmenu=Support Center;");
aI("text=Register Online;url=/secure/register/regstart.asp;");
aI("text=Site FAQ's;url=/faqs.htm;");
aI("text=Site Search;url=/Search/default.asp;target=_blank;");
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
overflow="scroll";
aI("text=Download Area;showmenu=Download Area;");
aI("text=Reports Online;url=/reports/reports5.asp;");
aI("text=Publications;showmenu=Publications;");
aI("text=Vendor Info Center;showmenu=Vendor Info Center;");
aI("text=Contest Area;showmenu=Contest Area;");
aI("text=Sales Force Automation;showmenu=Sales Force Automation;");
aI("text=OKC Product;showmenu=OKC Product;");
aI("text=MEGA Info Center;showmenu=MEGA Info Center;");
aI("text=Trade Show Info;url=/content/tradeshow/tsinfo.htm;");
aI("text=Hot Links;url=/content/hotlinks/hotlinks3.asp;");
aI("text=Training Online;url=/content/training/train.asp;");
aI("text=Leaders Area;showmenu=Leaders Area;");
aI("text=Site Search;url=/Search/default.asp;target=_blank;");
}
Its very puzzling. Before the upgrade everything worked fine. After the upgrade the ability to open pages in a new window from the main menu bar no longer works. It still works from main menu but not the lead menu bar. Could upgrading and removing the Milonic link have caused a problem with the main menu bar?
Thanks to anyone who can help me with this most frustrating problem!
Poster: John
Dated: Wednesday June 30 2004 - 23:20:10 BST
Got a URL? We really need to see more.
Also, don't forget to use the [code][/code] tags when posting code.
Poster: Andy
Dated: Thursday July 1 2004 - 9:33:13 BST
Hi,
I've just tried your link and it worked fine even with Service pack 2 for Windows XP.
The code was
Code:
aI("text=Site Search;url=/Search/default.asp;target=_blank;");
maybe you have a corrupt version of the menu or you could have some other HTML or JavaScript getting in the way.
Cheers
Andy