PDA

View Full Version : using iframe


jpatriar
06-29-2004, 03:13 AM
Hi,
I need advice from someone that has had experience with iframes.
I'm doing a site that has 26 order forms. Common among the forms
are the pricetable and shopping cart forms. However the shopping cart is paypal and to implement quantity discounts I have to pass qty/price pairs to the javascript functions they provided. Not a problem.

I've used an iframe for the price table and one for the cart forms, so if I have to change the prices in the future I can just modify the iframe html files and this will update all 26 forms.

Since I've never used iframe before I'd like to know if there are going to be any surprises before I do the the other 25 forms. I've test it with IE6, NN6.2 and Opera 7.0 in 800x600 and 1024x768 and it looks the way I want. (ie..
like it's part of the page)

I'm currious about other browser versions, like IE5.5 as I read that there may be window borders etc.. I'm no longer supporting NN4 so that does not matter.

Any help would be greatly appreciated.

J

bradyj
06-29-2004, 04:39 AM
iframe is supported by all browsers except 4 and under -- it was introduced in HTML 4.0, so IE 5 and up, NN 5 and up and any modern browser will support them fine, you should not have anything to worry about:)

And, just as a note, IE was one of the founding supporters of it, so that should ease your troubles.

jpatriar
06-29-2004, 06:00 AM
hi
Thanks Brady.
I did read that somewhere.
I also read this on microsofts page.
"With Microsoft® Internet Explorer 5.5, frames are now windowless"

So does than mean that previous version of IE, like 5.0 will have some chrome
or borders around the iframe or am I misconstruing their meaning?

As you probabally already know Opera lets authors/users turn frames/iframes (as well as other features) off so I kind of got an idea of what it would look
like and just thru a iframes required message between the tags.

J

bradyj
06-29-2004, 04:54 PM
I believe it will be chrome that you're talking of -- you could override it with CSS, but I don't remember the code off the top of my head.

As for 'turning off' inline frames, I would think only developers like us would know or even care to do it:)