Do you want to abort the script? ...popup window error...

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
guitarwez
Beginner
Beginner
Posts: 4
Joined: Wed Jan 05, 2005 9:50 pm
Location: Colorado

Do you want to abort the script? ...popup window error...

Post by guitarwez »

Hey everyone,

This is my 3rd site with Milonic and I'm quite comfortable with it. I haven't had any problems with the first 2 I installed. All are embedded in tables.

However, my 3rd one is giving me a popup window error that says

"A script on this page is causing IE to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?"

If I select Yes, the page then loads. If I select No, it freezes up and doesn't respond.

Here is the URL of the site: http://safetytech.lighthousewd.com - then select 'Products' and then click 'Military'.

Anyone have any ideas? I'm pulling my hair out trying to debug it... :(

Thanks in advance...
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi,

A quick guess (haven't tested it): Here's the code from your main menu, embedded in the table:

Code: Select all

 with(milonic=new menuname("Products")){
 style=menuStyle;
 top=155;
 left=200;
 alwaysvisible=1;
 orientation="horizontal";
 overfilter="";
 position="relative";
 aI("text=PRODUCTS;showmenu=Products;");
 }
 drawMenus();
The main menu (above) is named "Products" and its single menu item, "PRODUCTS", is trying to show a menu named "Products". You do have a second menu named "Products" defined in your menu_data.js file. Try naming the menu in the table cell "Main" (or something other than "Products").

Let us know if that stops the hair pulling (or if not also). ;)

Cheers,

Kevin
guitarwez
Beginner
Beginner
Posts: 4
Joined: Wed Jan 05, 2005 9:50 pm
Location: Colorado

Post by guitarwez »

Kevin, thanks so much for your help! That was indeed the problem and it is now fixed...

Thanks again! 8)
Post Reply