Opening pages in new windows + milonic + wrk around pop kill

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
smarin
Beginner
Beginner
Posts: 6
Joined: Mon Jun 21, 2004 9:34 pm

Opening pages in new windows + milonic + wrk around pop kill

Post by smarin »

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!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Got a URL? We really need to see more.

Also, don't forget to use the [code][/code] tags when posting code.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

I've just tried your link and it worked fine even with Service pack 2 for Windows XP.

The code was

Code: Select all

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
Post Reply