[thelist] Re: content of noscript displays in Mozilla

Diane Soini dianesoini at earthlink.net
Sat Jan 22 17:55:31 CST 2005


On Friday, January 21, 2005, at 04:09 AM, 
thelist-request at lists.evolt.org wrote:
> And lo; it came to pass that the great prophet, Diane Soini spake. And 
> the huddled masses rejoiced to hear:
>> Sorry to be asking for so much help lately. Anyway, I've got a static 
>> HTML page with some javascript code and a noscript tag (all generated 
>> by Web Trends.) We use the code all over the place. On the file 
>> system (windows) and on our apache server (Solaris) the content of 
>> the noscript tag does not show in Mozilla Fire*. But when served from 
>> an IIS server we have, in Mozilla I can see the contents of the 
>> noscript tag. I see <img src=...> tag, not the image. I'm thinking 
>> maybe our server isn't serving the content right? Any idea what's 
>> happening?
> Do you have a URL we can look at to see if we can see anything fishy?
> If not, there are a couple of things you should do. Firstly validate 
> the HTML, it might be getting confused by some non-standard markup. 
> Secondly install the firefox extension Live HTTP Headers 
> http://livehttpheaders.mozdev.org/
> this extension lets you view the HTTP headers so you will be able to 
> see if the content is being server correctly
>
> James

Well, no, I don't have a URL. I simply removed the noscript tags. The 
code's probably not going to validate, either, but the same code works 
just fine under different serving situations, so I don't think invalid 
code is the problem.

I do believe that the server is not sending the right headers. I get 
javascript errors with mozilla all the time because it believes the js 
file has a doctype declaration. Someone showed me how to get to the 
server and I poked around at the properties, but I don't know much 
about IIS, so I was afraid to break too much. I did see that not a 
single mime-type was defined. And I tried to check the box to "include 
a footer on every page" and it tried to put my footer in the css and 
javascript files. So I'm pretty sure the problem may be related to the 
server not sending the right content type.

Any suggestions?



More information about the thelist mailing list