Hello,
I'd like to create several home pages, all with the same HTML code but different CSS settings. I would then allow the visitor to choose which home page to view.
This is pretty easy if I just use a series of links. But what I'd rather do is is create a one-field form using the <select> tag. This does not appear as simple to do.
Coding the HTML is simple:
But what do I use for the action, method and value attributes? Any ides that would help point me in the right direction would be much appreciated.
Thanks,
Tom
I'd like to create several home pages, all with the same HTML code but different CSS settings. I would then allow the visitor to choose which home page to view.
This is pretty easy if I just use a series of links. But what I'd rather do is is create a one-field form using the <select> tag. This does not appear as simple to do.
Coding the HTML is simple:
Code:
<form action="#" method="#"> <p> Select a different home page: <select name="AltHomepage"> <option value="#">One</option> <option value="#">Two</option> <option value="#">Three</option> <option value="#">Four</option> </select> <input type="submit" value="Go!"/> </p> </form>
Thanks,
Tom
Comment