Does anyone know a different way to write this, so that firefox and IE will both accept it..?

Extreme43

11-26-2005, 12:14 PM

Iframes definantly do work in firefox.
the javascript inside the <iframe></iframe> only shows when the iframe cannot be displayed. as far as i know, i dont really use iframes.
hope that helps.

Bill Posters

11-26-2005, 12:43 PM

FF simply isn't recognising the contents of the src file as script, let alone javascript.
It's probably right/strict as there's nothing to actually tell the browser that the contents of the src file are javascript. i.e. it has no script elements, no script type content element and no js file name suffix.

You might consider turning the src file into a basic page which contains just the minimum markup and the javascript.

Personally, unless there's a problem in doing so, I'd use a basic, but complete document structure to contain the js.

Josh01

11-29-2005, 05:48 AM

Thanks Bill and everyone. I tried a few methods. Then I realized it was working for other people in firefox. So I stuck with the original code. Does everyone else see it? http://nemosurf.com Down the bottom of the page, a banner should say "YOUR ADD HERE"...