Add iframe
This modification is in the archives.
Ok what this does is allow you to add a url inside a post.Please forgive me if this is posted in the wrong section or has been posted before,If this is not allowed here please remove Admin.I have used this on my board for over 12 months and have not had any problems.If you are unsure dont use it,if you use please click *install*
go to adminCP>>Custom BB Codes>>>Add new BB code. In title put>>iframe In tag put>>iframe In Replacement place this code Code:
<a href="{param}" TARGET="_blank"> {param} </A><BR> <script type="text/javascript"> /*********************************************** * IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ //specify path to your external page: var iframesrc="{param}" //You may change most attributes of iframe tag below, such as width and height: document.write('<iframe id="datamain" src="'+iframesrc+'" width="100%" height="700px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="yes"></iframe>') </script> In description place>>>You can use the iframe tag to display a website within a post. Can be visually more enhancing than simply using a link. Use {option} NO then click save. to use simply put the url in between the iframe tags eg [iframe]your.site.com[/iframe] see below screenshot of how it looks on my board or click here http://www.sats-general.com/forum/showthread.php?p=9569#post9569 Download No files for download. Screenshots
|