TinyPortal

Development => Support => Topic started by: wmiles on September 13, 2006, 08:19:16 PM

Title: HTML Iframe
Post by: wmiles on September 13, 2006, 08:19:16 PM
Hi Guys

I'm using the following code in a html block to login to a chat room. however we use several different templates and as it is using Iframe i cant seem to get it to automatically switch CSS files i have to manually change the location of the template css each time.  i;ve looked about on this forum and people seem to have it working on articles, but i just want it in a block

This is the code for the block

<iframe src="http://www.amazonbarbie.co.uk/boards/iframe/chat2.html" width="175" height="200" frameborder=0 >
</iframe>

The chat2.html file contains some html and javascript to open the chat window.

Any help is appreciated
Title: Re: HTML Iframe
Post by: IchBin on September 13, 2006, 09:58:57 PM
I'm not sure I get what you're saying about the CSS file. Is this file being called from the chat2.html file?
Title: Re: HTML Iframe
Post by: wmiles on September 13, 2006, 10:47:40 PM
The CSS code is being called by the html file, but i would like it to call the Theme style.css, so that whatever theme is selected, no changes need to be made to that block or html file