Author Topic: Iframe  (Read 3909 times)

Offline hidden

  • ???
  • Posts: 2
Iframe
« on: August 26, 2009, 07:15:42 PM »
Hi.
Im newbie for iframes so id like to ask for help.
Id like to make link which when clicked loads iframe applet on page.
Heres exactly what i want to do:
germaniasport.hr
In up right corner is icon of TV. Clicking on it loads applet.
I got entire code of applet but tried to use it in many wayS but all i get is static iframe.
Heres code:
Code: [Select]
<iframe style="width: 521px; height: 390px; "src="http://www.germaniasport.hr/teletext/detached/" scrollbars="1" frameborder="0" height="390" width="521"></iframe>Can someone please help me?
Thanks.
« Last Edit: August 26, 2009, 09:20:52 PM by Samrc »

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Iframe
« Reply #1 on: August 26, 2009, 09:26:05 PM »
I do not recommend trying to combine your applet code into an iframe code. They are two different functions.

Iframes are windows cut into a website page to allow you to see another web page.
You could put the applet code into a new web page called applet.htm.
Click a link on the main page.
The iframe could change content to show applet.htm web page in your iframe window.

Warning:  If the applet OPENS a window, it will not stay in the iframe.
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • ???
  • Posts: 2
Re: Iframe
« Reply #2 on: August 28, 2009, 10:07:58 AM »
Hi.
Thanks, ill do that.