The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I want a button to place this code on my text: [dice=5]6[/dice]
I don't want to modify any variable. I tried this but the code doesn't work... ![]() Code:
<td><a href="javascript:void(0);"><img src="http://www.yoursite.com/diceimage.gif" title="Roll 5 Dice"
onclick="document.getElementById('{$editorid}_textarea').value += '[dice=5]6[/dice]';"></a></td>
Thanks, Camz |
![]() |
|
|