iFrame

Permalink
Hey

I think it would be useful and nice if we could insert iFrames easily into our content.

For people who do not know what an iFrame is it is an inline frame places another HTML document in a frame inside a normal (rather than frameset) HTML document.

thanks for the help!

Mnkras
 
sascha replied on at Permalink Reply
sascha
Remo already made a simple iframe block. It was available from previous marketplace for free. You should contact him and ask if he could upload it again.
http://www.concrete5.org/profile/-/26...
frz replied on at Permalink Reply
frz
the old maketplace is still accessible under /developers/all downloads

if you're worried about a block for 5.2, it should be there. the stuff is being repackaged for 5.3 now.
Mnkras replied on at Permalink Reply
Mnkras
thanks dude!
scoop replied on at Permalink Reply
Using the html block, I guess this would work :

<style>
.iframe-wrapper
{
width:640px;height:480px;border:1px solid #000000; padding:1px;
}
</style>
<div class="iframe-wrapper"></div>
<script type="text/javascript">
$(function() { 
$(".iframe-wrapper").load("http://someurl/somecontent.php");
});
</script>


(Sorry, this concrete5 website is not outputting the code correctly, I seem to have found a bug.) :(