I would like to know the answer too. Anyone here know what is the answer to that question. I'll do some Googling and get back to you if I bump into an good answer. You should email the people at iPage as they probably could give you help..
The iPage site is being scripted in xhtml and all tags must be closed..
HTML - XHTML.
<BR> = <br />.
<HR> = <hr />.
<IMG> = <img src="path" />.
Et cetera.
Gandalf..
Thanks, Don't have much xhtml exp, will remember for future refrence... jaeman..
How do you.
Href.
An <option>...? I don't understand your question at all, sorry...
He means how do you hyper-text reference(link) an option..
This iPage site uses:.
<option value="http://www.htmlforums.com">HTMLforums.com</option>.
(for example).
Peg..
Yes Pegasus, but in connection with a JavaScript. If you want to go to somewhere by just selecting and option, you need JavaScript to trigger it..
A basic example:..
You should close it in html4.01 as well. your book is old and deprecated and shouldn't be used.
LOL..
To validate in Strict XHTML you cannot use "name" in the <form> tag. It must be "id". "Name" is fine in the <select> tag..
When the script is inline and fired from an event-handler there is no need to go beyond the form as it already has the reference to that form. In the same way that "this" refers to the element in which it is used, one element's event-handler can call on another form element within the same form by using the element name (that is valid in form elements).
<form.
Id="theform".
Action=" ">.
<select name="themenu" size="1">.
<option selected="selected" value=" ">blah</option>.
<option value=" ">blah</option>.
<option value=" ">blah</option>.
<option> //more menu items// </option>.
</select>.
<input type="button" onclick= "location = '' +.
Themenu.options[themenu.selectedIndex ].value;" value=" Go " />.
</form>.
ListerMint..
*lol* Sorry, Scoutt. My ignorance is showing again. I used the wrong word, I think..
If you can add more than one attribute to an element, then you should be able to write a combination of Rydberg's and Gandalf's scripts. Like this:.
<form>.
<select onchange="java script: window.location = this.value;".
Name="Contact".
>.
<option value=""></option>.
<option value="http://www.example.com">Example</option>.
</select>.
</form>.
Shouldn't you? Mind you, that's not quite what this place has. The first part of the dropdown menu for the Network reads:.
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)" class="field">.
<option selected>Navigate Network</option>.
<option value="http://www.bigresources.com">BigResources.com</option>.
And has the list of other sites below it and this in the head section:.
<script>.
Function MM_jumpMenu(targ,selObj,restore){ //v3.0.
Eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");.
If (restore) selObj.selectedIndex=0;.
}.
</script>.
*lol* And now you know why I don't use jump menus. The whole thing may as well be in Japanese for all I understand it..
Peg..
Well if you jump in that menu with javascript it really doesn't matter if you have a name="" in there. it won't be used for that purpose...
Just as I thought! Well Scoutt can you write me a book on 4.01 HTML, lmao..

