PDA

View Full Version : Iframe resize & XML in Firefox



UTF
06-29-2007, 09:06 PM
1) Script Title: Iframe SSI

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

3) Describe problem: I'm new to the whole dynamic data thing, but I'm having a stab at some XML embedded into a page template using an Iframe.

The SSI script works like a charm on IE 6 & 7, but in Firefox 1.5 the Javascript thorws an error & the frame dosen't resize.

The error is:
currentfr.contentDocument.body has no properties

The URL is:
http://www.upthefunction.co.uk/songs.html

Any suggestions where I'm going wrong?

UTF
07-12-2007, 11:58 AM
..Well, not fixed the error in Firefox, but I've changed from using an Ifram to wrap xml to an asp & xslt fragment.

Seems to work :)