What to do if you use different styles on your forum and want to use different (your own) button-layouts matching your styles with this modification?
Here's the solution:
1. upload your buttons to the style related editor-folders.
2. create a new, additional css-definition for each style like this:
Code:
.bbpw{
display:block;
float: right;
background:url(editor_directory_path/yourbutton.gif);
width:150px; height:29px;
}
3. In the bbcode replacement:
HTML Code:
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bbpw" align="left" width="150" border="0">
</td>
<td align="right" width="250" border="0">
</td>
</tr>
<tr>
<td align="left" colspan="2" style="background-color: #C0FFC0; border: 2px solid Red; padding: 1px; clear:left"><FONT COLOR="#FF0000"><normalfont>{param}</normalfont></FONT>
</td>
</tr>
</table>
You may edit the width, name of class etc to fit your needs...
Screenshot:
Quote:
But im gettin an image plus the code.... "" target="_new">"
|
You need to set the param-code WITHOUT the quotation marks like this:
HTML Code:
<a href={param} target="_new"><img src="http://img186.imageshack.us/img186/9572/downloadzc4.png" /></a>