Thread: Buttons Direct
Results 1 to 2 of 2
Related
-
mouseover buttons or clickable buttons to move scroll bar Forum: Javascript Forum
Replies: 0 -
Security for direct typing Forum: HTML Forum
Replies: 1 -
using the URL to direct website visitors Forum: HTML Forum
Replies: 1 -
Just give me a direct line =0) Forum: Website Scripts Forum
Replies: 3
-
05-05-2004, 03:03 AM #1
Buttons Direct
Greetings,
I want to just utilize the button as shown below to point to a specific URL.
How can I do this?
Also, is there a way to alter the size of the button?
Thanks,
Jack
<form name="form1">
<input style="font-size:14px;color:red;font-family:verdana;background-color:yellow;
font-weight:bold;font-style:italic;"
type="button" onClick="location=document.form1.menu.options[document.
form1.menu.selectedIndex].value;" value="GO">
</form>
-
05-05-2004, 07:58 AM #2
For the size of the button
You can style it within the input tags:
Code:<input style="width:300px;height:200px;font-size:14px;color:red;font-family:verdana;background-color:yellow; font-weight:bold;font-style:italic;" type="button" onClick="location=document.form1.menu.options[document. form1.menu.selectedIndex].value;" value="GO">
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum