| Issues with Iframe and Blocks |
| Author | Text |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 07/09/2008 21:58 Issues with Iframe and Blocks | #post11648 | Hello,
I am trying to add a Iframe in a block, the code that I am using is
| code | <iframe width="225" height="220" scrolling="yes" src="http://www.noaawatch.gov/widgets/ike.htm"></iframe> |
The strange thing is, when I add the code in the HTML editor and then leave it, that is click on the Html editor again so all other icons light up the iframe shows perfectly once I click Modify and click on it it no longer shows the iframe. Can anyone shine some light onto my problem ? |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 5137

Gender:  Online: No |
Date: 07/09/2008 22:04 Re: Issues with Iframe and Blocks | #post11649 | Press SOURCE, add your html and SAVE without pressing again SOURCE in the toolbar |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 07/09/2008 22:12 Re: Issues with Iframe and Blocks | #post11650 | That didn't work, After doing what you suggested I click to view my page and all i see is the block title and no iframe of the hurricane warnings.
| code | <iframe width="<span" style="color: rgb(204, 0, 0);">"225"</span> height=<span style="color: rgb(204, 0, 0);">"220"</span> scrolling=<span style="color: rgb(204, 0, 0);">"yes"</span> src=<span style="color: rgb(204, 0, 0);">"http://www.noaawatch.gov/widgets/ike.htm"</span>></iframe> |
Thats how the code looks after it is saved, all I see is a box but no info in it due to the way it saves. Edited: 07/09/2008 22:15 |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 07/09/2008 22:24 Re: Issues with Iframe and Blocks | #post11651 | This is weird becuase if I click on the Preview in browser icon it shows the iframe correctly.
After saving it it doesn't show anything except a box.
this is version 3.9.0 with the fix applied.
All addon are ones which you made I don't use 3rd party addons.
The addons i have are:
Documents
Youtube
Quote
Chat
Contact Plus
And one that makes the user stats look better but it is disabled. |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 07/09/2008 22:53 Re: Issues with Iframe and Blocks | #post11652 | Adding in comments
<!-- --> etc.. adding in the code and saving and then going back all i see is the comments the code doesn't get saved. |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 07/09/2008 22:56 Re: Issues with Iframe and Blocks | #post11653 | There seems to be a bug in saving, as adding a <div> and saving the iframe code gets removed and only the comments and div remain. |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 07/09/2008 23:04 Re: Issues with Iframe and Blocks | #post11655 | I think what it is is it block government sites, makes sense as I modified the link I made for my live chat and replace the livechat link with the gov site for the weather and it saved everything and removed the gov link to the hurricane warnings. Heh |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 5137

Gender:  Online: No |
Date: 07/09/2008 23:11 Re: Issues with Iframe and Blocks | #post11658 | Try to copy and paste the code in a clean textarea to get rid of that html style |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 07/09/2008 23:16 Re: Issues with Iframe and Blocks | #post11659 | I think thats what it is as I tried to make a news article with the Hurrican warning images and it did the same thing. the code gets removed. Not sure why it does this but all other links work without issue. |
|
 |
| |
subject-28 Senior Member

Posts: 158

Gender:  Online: No |
Date: 07/09/2008 23:41 Re: Issues with Iframe and Blocks | #post11662 | Ill take the replys as "I dont know figure it out and let me know" |
|
 |
| |