Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Search Engine:
Changing default search button

 

 


Stphnwrt
Novice

Dec 9, 2007, 5:58 PM

Post #1 of 4 (12440 views)
Shortcut
Changing default search button Can't Post

Hi,

I have one more question that I just can't figure out. I want to change the default search button and replace it with one of my own. I don't see where the form calls any image for that button. Where would I even begin. Some advice is much appreciated. Is it even possible? Thanks.


Dave
Staff / Moderator


Dec 9, 2007, 8:14 PM

Post #2 of 4 (12439 views)
Shortcut
Re: [Stphnwrt] Changing default search button [In reply to] Can't Post

I don't know what your search form looks like but I'm going to guess you have a submit button like this:

<input type="submit" name="perform_search" value="Search">

If you want to use an image as a submit button you can use some code something like this:

<input type="image" name="perform_search" src="/images/submit.gif" height="30" width="100" border="0" alt="Submit Form">

That's going off of memory... Let me know if that does the trick for you.

Dave Edis - Senior Developer
interactivetools.com
 


Stphnwrt
Novice

Dec 10, 2007, 4:11 PM

Post #3 of 4 (12423 views)
Shortcut
Re: [Dave] Changing default search button [In reply to] Can't Post

Hi and thanks for the response. I actually found some info on this after digging through the forums here. It was a tut posted for creating a text link in place of the button, but had the code for calling an image as well. It worked perfectly for me, and the code is very similar to what you have here. So this would probably work as well. The link for that tut, for other people interested is: http://www.thesitewizard.com/archive/textsubmit.shtml


Dave
Staff / Moderator


Dec 10, 2007, 4:33 PM

Post #4 of 4 (12422 views)
Shortcut
Re: [Stphnwrt] Changing default search button [In reply to] Can't Post

Sounds great, glad you got it working. :)

Dave Edis - Senior Developer
interactivetools.com