PDA

View Full Version : Formatting Buttons ?


dotJoel
03-24-2008, 02:54 AM
Hi All,

I am trying to change the "Go" button on a search box.

http://staff.extremekites.com.au/joel/forum_posts/2008/format_searchbox.png

What I would like to do is change the word "GO" to an actual Gif image. I tried creating a new phrase and putting the <img src=""> in there. Didn't work, so I tried editing the button value directly getting rid of $vbphrase[go] and changing it to <img src=""> and still no luck.

Any advice would be appreciated.

Regards,

.Joel

notrious
03-24-2008, 04:23 AM
can you .... post your forum url...

regards

RobDog888
03-24-2008, 06:07 AM
Just edit the gobuton template if you want to replace it throughout your site.
<input type="submit" class="button" value="$vbphrase[go]" />
'Change to something like ...
<img src="http://whatever.com/images/go.gif" />

dotJoel
03-24-2008, 06:15 AM
can you .... post your forum url...



regards

Hi Mate,

Sorry our new 3.7 RC1 is on a devbox, not a public box. I'll be sure to post a link up once we're finished to a public running version.

Just edit the gobuton template if you want to replace it throughout your site.
<input type="submit" class="button" value="$vbphrase[go]" />
'Change to something like ...
<img src="http://whatever.com/images/go.gif" />

Hi Rob,

I tried this, doesn't work as it still has to be a button that is part of the form, the image simply doesn't display.

Regards,

.Joel

RobDog888
03-24-2008, 06:17 AM
<font color="darkgreen">Well you still need to write the rest of the code to submit your form as it was just an example. You were trying to change some image's text with altering a phrase which wont work.</font>

Princeton
03-24-2008, 12:49 PM
this should help
http://www.cs.tut.fi/~jkorpela/forms/imagebutton.html#how