mike444
03-03-2003, 12:52 PM
I have a form that works fine in IE but when in netscape 7.0 a radio button labelled "Specified Date" fails to make three text boxes labelled "month", 'day", and "year" appear when clicked. The form also doesn't send in netscape either but I think that's just because I don't have an e-mail account with netscape yet (not sure). Anyway I'm not sure what the compatibility issue is on the radio button...anyone know? I included the form page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>My First Stylesheet</TITLE>
<STYLE TYPE="text/css">
<!--
table a:link, a:visited, a:active {text-decoration: none;}
a:link {color:white;}
a:visited {color:white; text-decoration: none}
a:hover {color:black; background:orange; text-decoration: none}
a:active {color:white; background:red; text-decoration: none}
H1 { white-space : nowrap; color: white; font-size: 50px; font-family: impact; line-height: 45px }
H2 { white-space : nowrap; text-indent: 10px; position: justify; left:1px; top: 1px; color: green; font-size: 15px; font-weight: bold; font-family: arial; line-height: 19px; }
i { color: white; font-size: 15px }
#m { white-space : nowrap; color: yellow; font-size: 10px; font-weight: bold; font-family: arial }
#t { white-space : nowrap; color: yellow; font-size: 12px; font-weight: bold; font-family: arial }
H3 { white-space : nowrap; text-indent: 10px; position: justify; left:1px; top: 1px; color: yellow; font-size: 15px; font-weight: bold; font-family: arial; line-height: 19px; }
H4 { text-indent: 10px; position: justify; left:1px; top: 1px; color: yellow; font-size: 15px; font-weight: bold; font-family: arial; line-height: 19px; }
H5 { text-indent: 10px; position: justify; left:1px; top: 1px; color: yellow; font-size: 15px; font-weight: bold; font-family: arial; line-height: 19px; }
-->
</STYLE>
<script type="text/javascript">
function showIt() {
document.Main.quantity.style.visibility="visible";
}
function hideIt() {
document.Main.quantity.style.visibility="hidden";
}
function showIt2() {
document.all.Date.style.visibility="visible";
}
function hideIt2() {
document.all.Date.style.visibility="hidden";
}
</script>
</HEAD>
<BODY BGCOLOR="#000000">
<H1><a href="C:\My Documents\blahblaform.html">SITENAME.COM</a>
<H2>THIS IS THE BLAH BLA PURCHASE PAGE. PLEASE FILL OUT THE FOLLOWING:</H2>
<br>
<form name="Main" method=post action="mailto:trat444@yahoo.com" enctype="text/plain"><H3>YOUR NAME: <input type="text" name="sender name"> YOUR E-MAIL: <input type="text" name="sender e-mail"></H3>
<H3>BLAH BLA RECIPIENT'S NAME: <input type="text" name="recipient's name"></H3>
<H3>BLAH BLA RECIPIENT'S E-MAIL: <input type="text" name="recipient's e-mail"></H3>
<H3>THE AMOUNT OF THE BLH BLA: <input type="text" size="7" name="amount of blah bla"> <span id="t"><t>(any lorum ipsum text)</t></span></H3>
<H3>THE TYPE OF BLAH BLA:</H3>
<H3><input type="radio" name="blah bla type" value="lorumipsum1"> LORUMIPSUM1 <span id="t"><t>(irrelevent text)</t></H3>
<H3><input type="radio" name="blah bla type" value="lorumipsum2"> LORUMIPSUM2 <span id="t"><t>(can be lorum ipsum)</t></H3>
<H3><input type="radio" name="blah bla type" value="lorumipsum3"> LORUMIPSUM3 <span id="t"><t>(more text lorumipsum)</t>
<br><span id="t"><t> *Long line of irrelavent text. Blah bla yada yada yada yada. Lorumipsum ipsumlorum lorum ipsum yadayadayadayda.</t></span></H3>
<H3>NUMBER OF DAYS: SINGLE DAY MULTI DAY MULTI DAY QUANTITY</H3>
<H3>
<span id="m"><m>(LORUM IPSUM)</m></span> <input type="radio" name="number of days" value="single" onclick="hideIt()">
<input type="radio" name="number of days" value="multi" onclick="showIt()">
<input type="text" name="quantity" style="visibility: hidden" size="3">
</H3>
<H4>Another long line of insignificant text. Lorumipsum ipsum lorum lorumipsum. Yada yada yada yada yada yada.<br> sent to the blah bla recipient as part of the blah or returned to your blah bla account?</H4>
<H3>
<input type="radio" name="balance destination" value="to recipient">Sent to the blah bla recipient.
<input type="radio" name="balance destination" value="returned to sender">Returned to my blah bla account.
</H3>
<H3>When would you like the blah bla notification sent to the blah bla recipient?</H3>
<H3>
<input type="radio" name="Daterad" value="immediately" onclick="hideIt2()"> IMMEDIATELY</H3>
<H3><input type="radio" name="Daterad" value="specified date" onclick="showIt2()"> SPECIFIED DATE
<div id="Date" style="visibility: hidden">
Month:
<input type="text" name="month" size="2">
Day:
<input type="text" name="day" size="2">
Year:
<input type="text" name="year" size="4"></div>
<H5>
If you would like to include a personal message with the blah bla notification you may type it in the box
<br> provided below and then click enter. Otherwise you may click enter now.
</H5>
<TEXTAREA NAME="COMMENTS" ROWS=5 COLS=40 WRAP="hard">
</TEXTAREA>
<br><br>
<INPUT TYPE="submit" VALUE="ENTER">
<INPUT TYPE="reset" VALUE="RESET"></form></body></html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>My First Stylesheet</TITLE>
<STYLE TYPE="text/css">
<!--
table a:link, a:visited, a:active {text-decoration: none;}
a:link {color:white;}
a:visited {color:white; text-decoration: none}
a:hover {color:black; background:orange; text-decoration: none}
a:active {color:white; background:red; text-decoration: none}
H1 { white-space : nowrap; color: white; font-size: 50px; font-family: impact; line-height: 45px }
H2 { white-space : nowrap; text-indent: 10px; position: justify; left:1px; top: 1px; color: green; font-size: 15px; font-weight: bold; font-family: arial; line-height: 19px; }
i { color: white; font-size: 15px }
#m { white-space : nowrap; color: yellow; font-size: 10px; font-weight: bold; font-family: arial }
#t { white-space : nowrap; color: yellow; font-size: 12px; font-weight: bold; font-family: arial }
H3 { white-space : nowrap; text-indent: 10px; position: justify; left:1px; top: 1px; color: yellow; font-size: 15px; font-weight: bold; font-family: arial; line-height: 19px; }
H4 { text-indent: 10px; position: justify; left:1px; top: 1px; color: yellow; font-size: 15px; font-weight: bold; font-family: arial; line-height: 19px; }
H5 { text-indent: 10px; position: justify; left:1px; top: 1px; color: yellow; font-size: 15px; font-weight: bold; font-family: arial; line-height: 19px; }
-->
</STYLE>
<script type="text/javascript">
function showIt() {
document.Main.quantity.style.visibility="visible";
}
function hideIt() {
document.Main.quantity.style.visibility="hidden";
}
function showIt2() {
document.all.Date.style.visibility="visible";
}
function hideIt2() {
document.all.Date.style.visibility="hidden";
}
</script>
</HEAD>
<BODY BGCOLOR="#000000">
<H1><a href="C:\My Documents\blahblaform.html">SITENAME.COM</a>
<H2>THIS IS THE BLAH BLA PURCHASE PAGE. PLEASE FILL OUT THE FOLLOWING:</H2>
<br>
<form name="Main" method=post action="mailto:trat444@yahoo.com" enctype="text/plain"><H3>YOUR NAME: <input type="text" name="sender name"> YOUR E-MAIL: <input type="text" name="sender e-mail"></H3>
<H3>BLAH BLA RECIPIENT'S NAME: <input type="text" name="recipient's name"></H3>
<H3>BLAH BLA RECIPIENT'S E-MAIL: <input type="text" name="recipient's e-mail"></H3>
<H3>THE AMOUNT OF THE BLH BLA: <input type="text" size="7" name="amount of blah bla"> <span id="t"><t>(any lorum ipsum text)</t></span></H3>
<H3>THE TYPE OF BLAH BLA:</H3>
<H3><input type="radio" name="blah bla type" value="lorumipsum1"> LORUMIPSUM1 <span id="t"><t>(irrelevent text)</t></H3>
<H3><input type="radio" name="blah bla type" value="lorumipsum2"> LORUMIPSUM2 <span id="t"><t>(can be lorum ipsum)</t></H3>
<H3><input type="radio" name="blah bla type" value="lorumipsum3"> LORUMIPSUM3 <span id="t"><t>(more text lorumipsum)</t>
<br><span id="t"><t> *Long line of irrelavent text. Blah bla yada yada yada yada. Lorumipsum ipsumlorum lorum ipsum yadayadayadayda.</t></span></H3>
<H3>NUMBER OF DAYS: SINGLE DAY MULTI DAY MULTI DAY QUANTITY</H3>
<H3>
<span id="m"><m>(LORUM IPSUM)</m></span> <input type="radio" name="number of days" value="single" onclick="hideIt()">
<input type="radio" name="number of days" value="multi" onclick="showIt()">
<input type="text" name="quantity" style="visibility: hidden" size="3">
</H3>
<H4>Another long line of insignificant text. Lorumipsum ipsum lorum lorumipsum. Yada yada yada yada yada yada.<br> sent to the blah bla recipient as part of the blah or returned to your blah bla account?</H4>
<H3>
<input type="radio" name="balance destination" value="to recipient">Sent to the blah bla recipient.
<input type="radio" name="balance destination" value="returned to sender">Returned to my blah bla account.
</H3>
<H3>When would you like the blah bla notification sent to the blah bla recipient?</H3>
<H3>
<input type="radio" name="Daterad" value="immediately" onclick="hideIt2()"> IMMEDIATELY</H3>
<H3><input type="radio" name="Daterad" value="specified date" onclick="showIt2()"> SPECIFIED DATE
<div id="Date" style="visibility: hidden">
Month:
<input type="text" name="month" size="2">
Day:
<input type="text" name="day" size="2">
Year:
<input type="text" name="year" size="4"></div>
<H5>
If you would like to include a personal message with the blah bla notification you may type it in the box
<br> provided below and then click enter. Otherwise you may click enter now.
</H5>
<TEXTAREA NAME="COMMENTS" ROWS=5 COLS=40 WRAP="hard">
</TEXTAREA>
<br><br>
<INPUT TYPE="submit" VALUE="ENTER">
<INPUT TYPE="reset" VALUE="RESET"></form></body></html>