block-random ignores stylesheets and link attributes

kmaisch

Joined: 2004-04-26
Posts: 79
Posted: Thu, 2004-12-16 09:39

Please have a look at the random block at http://www.kmaisch.com/

Rencelty, it started appearing in a white box (instead of blue, which is my background colour), and the font is also in Times instead of using my stylesheet.

Also, when you click on the photograph the link opens inside the block-random area instead of the _top html page.

This is the code I have used:

<IFRAME 
            src="/gallery/block-random.php?size=150&target=_top"
			name="blockrandom1"
            width="150" 
            height="150" align=top scrolling=no frameborder=0 class="caption" id="blockrandom1"
            onLoad="iFrameHeight(this);"> 
    </IFRAME>

Sorry if someone has already covered this in another thread. From what I have found I am guessing I am using old code or an old version of block-random for version 1.4.4pl4?

I'm using it in an IFRAME with standalone gallery. Any help would be great. Thanks in advance.

Kim

 
kmaisch

Joined: 2004-04-26
Posts: 79
Posted: Sat, 2004-12-18 01:45

problem fixed - I'm now using the random-block-enhance.php, and using the SSI commands instead of IFRAME. Much better! :)