I have a piece of code something like the following:
START OF CODE
<html><head><title>The Wizard</title></head>
<body> <h1>Welcome to Joe's Vet Clinic</h1>
<div id="part1" style="position:absolute;top:150px;left:50px;visib ility:visible;">
<form name="visitor_info">
<table><tr><td>Your name:</td><td><input name="visname"
type="text"></td></tr>
<tr><td>Your phone number:</td>
<td><input name="phone" type="text"></td></tr>
<tr><td>YourZip Code:</td><td><input name="zip" type="text"></td></tr>
</table>
<input type="button" value="next"
onClick="switchIfDone(this.form, 'part1', 'part2');">
</form></div>
<div id="part2" style="position:absolute;top:150px;left:50px;visib ility:hidden;">
<form name="pet_info">
<table><tr><td>Your pet's name:</td>
<td><input name="petname" type="text"></td></tr>
<tr><td>Dog, cat, fish, bird, lizard or other:</td>
<td><input type="text" name="species"></td></tr>
<tr><td>Breed:</td>
<td><input name="breed" type="text"></td></tr>
</table>
<input type="button" value="prev"
onClick="switchDiv('part2', 'part1');">
<input type="button" value="next"
onClick="switchIfDone(this.form, 'part2', 'part3');">
</form>
</div>
blah blah blah
</html>
END OF CODE
This code needs spport, and can't work as is. It is code taken from
the Apple Developer's Site.
The code works perfectly in NN 7.0. It appears when the page is
served, and the function switchIfDone changes the visibility.
In IE6, it doesn't work at all.
Is there some reason why IE does not support DHTML?