TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 431
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 137
  • Total: 138
  • @rjen

HTML Iframe

Started by wmiles, September 13, 2006, 08:19:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wmiles

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

IchBin

I'm not sure I get what you're saying about the CSS file. Is this file being called from the chat2.html file?

wmiles

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

This website is proudly hosted on Crocweb Cloud Website Hosting.