PDA

View Full Version : iFrame BBCODES


Millenium IT
03-29-2007, 01:46 AM
I remember seeing something like this somewhere and i noticed that it wasnt well implemented so i made my own. NONE OF THE ORIGINAL CODES BY THE AUTHOER WHO'S NAME I CANT REMEMBER HAS BEEN USED!

Step1:
Goto AdminCP => Custom BBCodes => Manage BBCodes => Add new BBCODE

Step 2:

Title:
iFrame BBCODES

tag:
if

replacement:
<!-- Start iFrame by anywares -->
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="600" height="400" style="margin:10px 0">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="{param}" title="Go to site directly" target="_new">Go to the site directly</a>
</td>
</tr>
</thead>
<tr>
<td>
<iFrame src="{param}" width="615" height="415"></iFrame>
</td>
</tr>
</table>
<!-- End iFrame by anywares -->

You can adjust the size of the window by editing these two lines:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="600" height="400" style="margin:10px 0">

<iFrame src="{param}" width="615" height="415"></iFrame>

Example:
http://www.google.com


Discription:
iFrame BBCODE

Use {option}
No

Screenshots:
http://img8.imagepile.net/img8b/60267iframe.png

http://img8.imagepile.net/img8b/58045iframe2.png