![]() |
Add button to Newreply...
I'm having trouble getting the code right to add a button to the vbCode in the newreply template. I want to add a button like the quote button but this one will insert a space into the message. Here's what I have so far but it is not working. Can someone please help steer me in the right direction with this?
PHP Code:
|
Use the Smiley javascript code for this :bandit: *fg
replace your line Code:
<input type="button" class="bginput" value="SPACE" title="Insert a Space" onclick="vbcode(this.form,' ','')" onmouseover="stat('space')"> Code:
<input type="button" class="bginput" value="SPACE" title="Insert a Space" onclick="javascript:smilie('& nbsp;')" onmouseover="stat('space')"> Code:
<input type="button" class="bginput" value="SPACE" title="Insert a Space" onclick="javascript:document.vbform.message.value+='& nbsp;';document.vbform.message.focus();" onmouseover="stat('space')"> |
All times are GMT. The time now is 01:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|