Ver5 loads very slow in IE7

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Ver5 loads very slow in IE7

Post by Andy »

What can I say?

Imagine our frustration when another company provides a product that ultimately causes our product to fail through no fault of our own. The time I have spent on this issue alone has been immense.

Now, the problem is that I do not and cannot obtain a copy of the faulty version of NIS for testing. The only version I can get is the latest from the Symantec website and that version has been fixed.

If somebody is prepared to let us have a copy of NIS that breaks I'll gladly do what I can but so far nobody has offered us a copy. All our attempts at contacing Symantec for a copy have failed. They are just like Apple - couldn't care less about us.

My hands are tied on this one. It's most definitely NOT our fault but boy is it our problem :x

Cheers,
Andy
steve.n
Advanced
Advanced
Posts: 20
Joined: Sat Aug 30, 2008 2:25 am

Re: Ver5 loads very slow in IE7

Post by steve.n »

Andy,

I should have an old version backed up somewhere - it will be registered to me but I trust you :)

Give me an email address and I'll send it to you. These kind of problems are a real pain - good luck and keep us informed.

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

Re: Ver5 loads very slow in IE7

Post by Andy »

Hi Steve,

Can you please send it to my forum username at forum domain name - you get the the idea? ;)

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

Re: Ver5 loads very slow in IE7

Post by Andy »

Thanks for sending me the copy of NIS, Steve - I managed to install a 15 day trial so won't need a key just yet.

Unfortunately, as I expected, everything runs fine - I see the milonic.com site appear in about 2 seconds, that's just typical.

The ONLY way I'm going to be able to debug this is if somebody gives me remote control of their PC - and that's never going to happen. Or, if somebody can find why some machines work and others do not.

I honestly do not know what to suggest now - I'm DESPARATELY trying to get the new version of the menu ready but I'm snowed under with support and other issues like this. The new menu does not exhibit any issues.

Anyway, I've just spent 3 hours trying to debug another users menu only to find they had made changed to the menu code ARGHHHHH!!!! - I'm having a very bad year. Roll on 2009 :roll:
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Ver5 loads very slow in IE7

Post by Andy »

is http://milonic.com/ any better?
steve.n
Advanced
Advanced
Posts: 20
Joined: Sat Aug 30, 2008 2:25 am

Re: Ver5 loads very slow in IE7

Post by steve.n »

Hi Andy

Well at least that does narrow the problem - I'll need to set up another PC to test this as I have V16 instaled now.

Steve
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Re: Ver5 loads very slow in IE7

Post by rudy »

Were you able to see if version 5.808 fixed the problem that caused pages with the Milonic menu on them and using IE7 and also an older version of Norton Internet Security to open very slowly?

Thanks for working on this!
Rudy
Konrad
Beginner
Beginner
Posts: 4
Joined: Mon Dec 08, 2008 6:59 pm

Re: Ver5 loads very slow in IE7

Post by Konrad »

Here is a Quick Solution for this problem and it works fine with all versions of Norton Confidential Browser Helper Object

At the end of your mmenudom.js file you have a code something like this:

Code: Select all

write("<iframe class=mmenu FRAMEBORDER=0 id="+$mV+_p5+" src='javascript:false;' 

Remove this one :

Code: Select all

src='javascript:false;' 
So you should have now :

Code: Select all

write("<iframe class=mmenu FRAMEBORDER=0 id="+$mV+_p5+" 
That's it ;)
steve.n
Advanced
Advanced
Posts: 20
Joined: Sat Aug 30, 2008 2:25 am

Re: Ver5 loads very slow in IE7

Post by steve.n »

aha - thanks, Konrad. I can't test it right now as I'm running a different ver of Norton but how did you figure it? Very curious :)
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Ver5 loads very slow in IE7

Post by Andy »

The above will work on non secure pages. It will also work if you add: _CFix=true; to the top of your data file.

The problem is that Internet Explorer 6.0 requires a link within an IFRAME or else it spews a security warning.
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Re: Ver5 loads very slow in IE7

Post by rudy »

:?
I'm a bit confused now. So Andy, are you saying Kevins code will fix the NIS slow loading issue on some older versions, but by applying his fix it will cause a security warning for IE 6.0 users?
Andy wrote:The above will work on non secure pages. It will also work if you add: _CFix=true; to the top of your data file.

The problem is that Internet Explorer 6.0 requires a link within an IFRAME or else it spews a security warning.
Rudy
Konrad
Beginner
Beginner
Posts: 4
Joined: Mon Dec 08, 2008 6:59 pm

Re: Ver5 loads very slow in IE7

Post by Konrad »

steve.n wrote:aha - thanks, Konrad. I can't test it right now as I'm running a different ver of Norton but how did you figure it? Very curious :)
I'm using Milonic Menu on my site - and my customers complained so I found out that internet explorer have problems in generating iframe instances when data is resent to a webpage - and Norton Confidential Browser Helper Object causes the data to be resent and thats why it lags ;)
Andy wrote:The above will work on non secure pages. It will also work if you add: _CFix=true; to the top of your data file.

The problem is that Internet Explorer 6.0 requires a link within an IFRAME or else it spews a security warning.
Yes - only on sites with SSL. However instead of :

Code: Select all

write("<iframe class=mmenu FRAMEBORDER=0 id="+$mV+_p5+" src='javascript:false;' 
you can use:

Code: Select all

write("<frame class=mmenu FRAMEBORDER=0 id="+$mV+_p5+" src='javascript:false;' 
so everything should work fine ;)
Konrad
Beginner
Beginner
Posts: 4
Joined: Mon Dec 08, 2008 6:59 pm

Re: Ver5 loads very slow in IE7

Post by Konrad »

rudy wrote::?
I'm a bit confused now. So Andy, are you saying Kevins code will fix the NIS slow loading issue on some older versions, but by applying his fix it will cause a security warning for IE 6.0 users?
Dude thats not my name ;)
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Ver5 loads very slow in IE7

Post by Andy »

rudy wrote::?
I'm a bit confused now. So Andy, are you saying Kevins code will fix the NIS slow loading issue on some older versions, but by applying his fix it will cause a security warning for IE 6.0 users?
Andy wrote:The above will work on non secure pages. It will also work if you add: _CFix=true; to the top of your data file.

The problem is that Internet Explorer 6.0 requires a link within an IFRAME or else it spews a security warning.
If all you want to do is fix the slow loading of the menu re: NIS - then add _CFix=true; to the top of your menu_data.js file.

The security warning will only appear on secure sites under https - none secure sites will not be affected
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Re: Ver5 loads very slow in IE7

Post by rudy »

Sorry, thought I was responding to Andy
Konrad wrote:
rudy wrote::?
I'm a bit confused now. So Andy, are you saying Kevins code will fix the NIS slow loading issue on some older versions, but by applying his fix it will cause a security warning for IE 6.0 users?
Dude thats not my name ;)
Rudy
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Re: Ver5 loads very slow in IE7

Post by rudy »

Will this fix for the NIS issue be in point version fix?
Andy wrote:
rudy wrote::?
I'm a bit confused now. So Andy, are you saying Kevins code will fix the NIS slow loading issue on some older versions, but by applying his fix it will cause a security warning for IE 6.0 users?
Andy wrote:The above will work on non secure pages. It will also work if you add: _CFix=true; to the top of your data file.

The problem is that Internet Explorer 6.0 requires a link within an IFRAME or else it spews a security warning.
If all you want to do is fix the slow loading of the menu re: NIS - then add _CFix=true; to the top of your menu_data.js file.

The security warning will only appear on secure sites under https - none secure sites will not be affected
Rudy
Konrad
Beginner
Beginner
Posts: 4
Joined: Mon Dec 08, 2008 6:59 pm

Re: Ver5 loads very slow in IE7

Post by Konrad »

rudy wrote:Sorry, thought I was responding to Andy
no problem ;)
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Re: Ver5 loads very slow in IE7

Post by rudy »

When placing the _CFix=true; in the top part of my menu_data.js file I noticed that the other entries didn't use a (;) semi-colon at the end, as shown below. Is that semi-colon necessary for it to work?

Code: Select all

_CFix=true;
_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=50                // Follow scrolling Rate
_subOffsetTop=5               // Sub menu top offset
_subOffsetLeft=-1             // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x
buildAllMenus=true



If all you want to do is fix the slow loading of the menu re: NIS - then add _CFix=true; to the top of your menu_data.js file.

The security warning will only appear on secure sites under https - none secure sites will not be affected[/quote][/quote]
Rudy
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Re: Ver5 loads very slow in IE7

Post by rudy »

Hi Andy,
Is this the section of the menu_data.js file that the _CFix=true; code should be added? See code below:
Should it be added as _CFix=true or _CFix=true; (with the semi-colon at the end_

Code: Select all

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=50                // Follow scrolling Rate
_subOffsetTop=5               // Sub menu top offset
_subOffsetLeft=-1             // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x
_CFix=true
buildAllMenus=true
Andy wrote:
rudy wrote::?
I'm a bit confused now. So Andy, are you saying Kevins code will fix the NIS slow loading issue on some older versions, but by applying his fix it will cause a security warning for IE 6.0 users?
Andy wrote:The above will work on non secure pages. It will also work if you add: _CFix=true; to the top of your data file.

The problem is that Internet Explorer 6.0 requires a link within an IFRAME or else it spews a security warning.
If all you want to do is fix the slow loading of the menu re: NIS - then add _CFix=true; to the top of your menu_data.js file.

The security warning will only appear on secure sites under https - none secure sites will not be affected
Rudy
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Ver5 loads very slow in IE7

Post by Andy »

Hi Rudy,

Looks good to me.

Regarding the semi-colons: With JavaScript (unlike other languages like PHP) the semi-colon is not required if there is a carriage return. It's only there to keep things looking right. I'm sometimes sloppy in the demos but I'm working on fixing things for the new version of the menu.

So to sum up - semi colons are not always needed in JavaScript providing you are separating code with carriage returns

-- Andy
Post Reply