Quote:
Originally Posted by joeroberts
Im not realy sure what your trouble with the code is?
I went threw phpBB and got all the code needed to make colour pallet to work and it did its not the same colors yours is + I was also able to get the tab to show and Hide it.
can you please tell Me where your trouble is in detail?
Or would you like for me to post and explane what I came up with?
|
This one is work is made by
Pinduur (credit for Pinduur,thx)
javascript
:
PHP Code:
/////// INSERT COLOR ////// by Pinduur //////////////////
function culoare(src){
var codculoare = document.getElementById("<?=$text?>");
var tmp = codculoare.value;
codculoare.value = tmp + ' ' + src;
}
/////// INSERT COLOR ////// by Pinduur ///////// END /////////
html:
PHP Code:
<table border="1" align="justify"cellpadding="0" cellspacing="0" height="7" >
<tbody><tr>
<td bgcolor="#000000">
<img src="pic/bbcode/spacer.gif" title="#000000" height="8" width="9" border="0" alt="[color=#000000]text aici[/color]" onClick="culoare(this.alt);" />
</td>
</tr>
</tbody></table>
If is posible please post your mode to see how it is work.
Thx.