Problem with block-random-enhanced and IE (but not Firefox)

scop

Joined: 2004-04-20
Posts: 5
Posted: Sun, 2005-09-25 08:55

Hi there,

I wonder if anyone can help me or give me any advice with the following problem:

Firstly, here are the details of my site:

Gallery URL (optional but very useful): http://tim.hannam.ac.kr/gallery/
Gallery version: 1.5.1
Apache version: 2.0.54
PHP version (don't just say PHP 4, please): 5.0.4
Graphics Toolkit: ImageMagick
Operating system:Fedora Core 3
Web browser/version (if applicable): IE 6.0 SP1

I am experiencing an issue with browser compatibility (I think). This is working beautifully in Firefox 1.0.7, but not in IE 6.0 SP1. I am using this as a block in the Learning Management System Moodle.

In IE this works OK on the frontpage of my site, but doesn't work inside my site.

I have the following code on the frontpage of my website:

<p align="center"><iframe id="blockrandom1" name="blockrandom1" align="top" src="http://tim.hannam.ac.kr/gallery/block-random-enhanced.php?size=150&body=1&target=_blank" frameborder="0" width="150" scrolling="no" onload="iFrameHeight(this);" height="145"></iframe></p>

This is working always in Firefox, and usually (sometimes I need to do a refresh) in IE.

I have the following code in a block on the inside of my website:

<p align="center"><iframe id="blockrandom1" name="blockrandom1" align="top" src="http://tim.hannam.ac.kr/gallery/block-random-enhanced.php?size=150&body=1&target=_blank&album=JCvII0102F05" frameborder="0" width="150" scrolling="no" onload="iFrameHeight(this);" height="145"></iframe></p>

Here I want to restrict the photos to a particular sub-album. This works always with Firefox, and never with IE.

(I tried another way to do this, by specifying the block in the block-random-enhanced file instead of adding to the src url in the iframe:

<p align="center"><iframe id="blockrandom1" name="blockrandom1" align="top" src="http://tim.hannam.ac.kr/gallery/block-random-enhanced-SBCp0104F05.php?size=150&body=1&target=_blank" frameborder="0" width="150" scrolling="no" onload="null" height="145"></iframe></p>

This didn't work either in Firefox or IE!)

I have made sure that the javascript file block-random-support.js is in my webroot directory and that the javascript line is in the header (...<script language="JavaScript" type="text/javascript" SRC="http://tim.hannam.ac.kr/block-random-support.js"></script></head>)

Any advice or tips or feedback of any kind about this would really be appreciated. I love this random-enhanced-block but if it doesn't work in IE, it will not work with most of my users.

Thanks in advance,
Tim.