inline javascript for milonic source code problem?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pparkin
Beginner
Beginner
Posts: 6
Joined: Tue Mar 30, 2004 10:59 pm

inline javascript for milonic source code problem?

Post by pparkin »

Hi all,

I am trying to inline src all the milonic src and config in my page. I am getting two image requests that are giving me errors that seem to be coming from the milonic source code. Has anyone tried to inline src all the milonic stuff? I am doing this to speed the download of the page because our site is akamized and we cannot get the external scripts to akamize.

Here are the two image calls that are failing. It looks like there is an array element that is not being resolved correctly. Not sure if the same thing is happening when the script is external over being inlined.

http://www.marthastewart.com/"+_I[29]+"

http://www.marthastewart.com/+_I[24]+_oif+

The page with the inlined src of the nav is here:

http://www.marthastewart.com/

Thanks,
peter
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Kevin or Andy will have to take this one, Peter.

Meanwhile, note that you are 8 versions down-level and "technically" out of support :( - current is 5.22 and a lot has been fixed/updated/added.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Which web browsers are you having trouble with?

I looked with IE on XP Pro and it seemed fine.

Cheers
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

FWIW, same combo as Andy and no errors here, either.

Also Opera 7.51 and NS 7.1.
John
pparkin
Beginner
Beginner
Posts: 6
Joined: Tue Mar 30, 2004 10:59 pm

Post by pparkin »

Wow... the build I am using is 2 months old and it is not supported anymore! That is a quick lifecycle. Anyway...

The problem is not a visual one. When we run any page in our site against a program (or service) that gives us a list of links and image requests made from a page, the two above images are being requested and getting error pages. This impacts the total download size of the page because it is virtually serving two of our error pages when it makes the bad image requests.

I will try the new version of the software and see if I get the same thing. I am taking it no one else has reported such a problem? It is similar to the "blank.htm" problem we had with pages with the nav in https mode looking for blank.htm to fill the iframe.

Thanks,
peter
pparkin
Beginner
Beginner
Posts: 6
Joined: Tue Mar 30, 2004 10:59 pm

Post by pparkin »

I looked in the new code and still see the image requests in mmenudom.js. This is affecting any browser that is not NS4 I would expect based on how that script is sourced in. What do these two images do?

<img id=simg"+_el+" src="+_I[24]+_oif+">

and

<img "+_imf+" style='display:block' "+_Iwid+_Ihgt+" id=img"+_el+" src='"+_I[29]+"'>

Thanks,
peter
Post Reply