Personal Car Finance - Online Image Resizer - The eBay Song - Bad Credit Mortgages - Free Ringtone

PDA

View Full Version : javascript help need to replace button with .gif button


neil patrick harris
Oct 17th 2007, 12:31 am
Can anybody help me with this? I need to replace the javascript generated button with a gif or png button but I dont know how. heres the source code.
<!-- java search begins-->








<form name="search" action="result.php" method="post">









<input type="text" name="q">











<select name="site">








<option>Mininova</option>








<option>Btjunkie</optio



<option>






Isohunt



</option>






<option

Torrentspy



</option>




<option>



Torrentreactor


</option>





<option>
Sumotorrents


</option>





<option>







Torrentportal




</option>



<option>




Torrentvalley




</option>






<option>




Fenopy



</option>





<option>


Fulldls




</option>




<option>







EZ-TV


</option>








<option>



Bittorrent Monster
</option>




<option>
Torrentz


</option>






<option>




The Pirate Bay



</option>




</select>




<input type="submit" name="submit">



<br />



</form>

<!-- java search ends-->
I also would like to make the search show up in the url so people can link to it. any ideas?

Geckonm
Oct 17th 2007, 3:36 am
Hmmm... thats not java!

Anyways, you can use image buttons instead. You have

<input type="submit" name="submit">

Use

<input name="submit" type="image" src="image.gif" />


Good luck!

kumru
Jun 12th 2008, 12:57 am
Thanks for the information, it helped me a lot too.

quintin671
Jun 27th 2008, 1:56 am
Wow I feel stupid. I never knew it was that simple to use a graphic for a button replacement. Time to go redue my site with fancy buttons now. I always made a css to change my buttons, I don't know if this is better or worse.