PDA

View Full Version : opera et Iframe SSI script II



mtgt
12-05-2007, 06:32 AM
Hi,

I found your helpful code to resize iframe. But I get proble with opera only. Nothing in iframe are display, no content at all exept the banner but this one are not in iframe.

I suppose that is special for opera browser. Do you know how it's possible to fix it?

Thanks in advance for your help:)

mkarpinski
12-12-2007, 04:01 AM
Since this script works perfectly with Opera I have no idea why it is blocked for this browser (maybe it was that some previous versions did not support it tho I not see any piece of code that Opera coudn't handle)

So here is the trick:
1. Find this part of code:

if (dyniframe[i] && !window.opera){
1. If you have other version of the script find this:

if (currentfr && !window.opera){
2. Remove "&& !window.opera" from if condition
3. Voila

Cheers,