Input "Buttons"

liunx

Guest
So, I've put together several search screens which query databases on our web site.<br />
<br />
On each screen I have the familiar "Previous" and "Next", "Submit" and "Reset" big gray buttons.<br />
<br />
What I want to do is change the big ugly button to simple text/hyperlink: <<Prev Next>><br />
<br />
I guess I could always use the 'image' function and use a little GIF, but I would prefer the text.<br />
<br />
Is this something I missed at the "things you can't do with HTML" class?<br />
<br />
Thanks,<br />
<br />
Mark B<!--content-->With style tags you can change the ugly gray buttons to look practically like text only. Will not work in all browsers.<br />
<br />
You can use hyperlinks instead of buttons if you can edit the script or the existing script will allow for it. <br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/yourscript.cgi?action=search>Submit</a><br />
<br />
Change action=search to whatever you currently use. To add more name/value pairs to the string us the ampersand followed by the name/value:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"yourscript.cgi?action=search&date=1998&color=green">Submit</a><br />
<br />
<br />
There is no such thing as a graphical reset button though. You would need to use a JAVA script to make the reset image function the same as a reset button. Or just hyperlink the reset image back to the form and it will reload the page, but will dump any data already entered into the form.<br />
<br />
Regards,<br />
Kevin<!--content-->you should be able to assign to text links to the actions:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"#" onclick"submit();">Submit</a><br />
<br />
and so on.<!--content-->
 
Back
Top