PDA

View Full Version : Change to image buttons


JVSP
04-17-2008, 03:57 PM
How can I change the "Post Quick Reply" and "Go Advanced" buttons on the bottom quick reply to image buttons?

These two codes
<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />

<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />


Thanks

Lynne
04-17-2008, 04:09 PM
Did you try something like:
<input type="image" src="yourbutton.gif" width="xx" height="yy" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value">

JVSP
04-17-2008, 05:35 PM
Thanks that does work for the first code but for the second code it does not.

When I try to replace the go advanced code with an image code like this

<input type="image" src="myimage.gif" width="132" height="24" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />

it ends up making both buttons stop working

Lynne
04-17-2008, 05:55 PM
Hmmm, I seem to recall you can't use that method if you have two images used for the same form. If you look on this page, all the images are actually links, not form submit buttons.

JVSP
04-17-2008, 07:21 PM
ahhhh, thanks so much for your help..:up: