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:24
inline javascript for milonic source code problem?
Poster: pparkin
Dated: Monday June 14 2004 - 21:31:01 BST
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
Poster: John
Dated: Monday June 14 2004 - 22:00:31 BST
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.
Poster: Andy
Dated: Tuesday June 15 2004 - 11:56:38 BST
Which web browsers are you having trouble with?
I looked with IE on XP Pro and it seemed fine.
Cheers
Andy
Poster: John
Dated: Tuesday June 15 2004 - 15:15:57 BST
FWIW, same combo as Andy and no errors here, either.
Also Opera 7.51 and NS 7.1.
Poster: pparkin
Dated: Tuesday June 15 2004 - 19:08:44 BST
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
Poster: pparkin
Dated: Tuesday June 15 2004 - 19:16:38 BST
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