Y
Yve
Hallo,
this testweb works well in Mozilla and Netscape but not in Internet
Explorer.
http://www.netzwerkservice.com/test/frame/test_javascript_1007/
As I am not good at JavaScript I have got no idea where to look fot
the bug.
I kindly ask you for your help.
I add the parts of code that might be buggy.
Thank you very much for your patience with newbies.
Yvonne
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
..
..
..
<script language="JavaScript">
<!--
function Go(x)
{
if(x == "nothing")
{
document.forms[0].reset();
document.forms[0].elements[0].blur();
return;
}
else if(x == "end") top.location.href = parent.frames[1].location;
else
{
parent.frames[1].location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
}
//-->
</script>
..
..
..
<form>
<select name="bereich1"
onChange="Go(this.form.bereich1.options[this.form.bereich1.options.selectedIndex].value)"
width="50">
<option value="nothing">Bereich1
<option value="nothing">. . . . . . . </option>
<option value=""onClick="parent.content.location='../content/content_gelb.html';
parent.thumbs.location='../thumbs/thumbs_gelb.html'; return
false;">gelb</option>
<option value=""onClick="parent.content.location='../content/content_blau.html';
parent.thumbs.location='../thumbs/thumbs_blau.html'; return
false;">blau</option>
</select>
</form>
</td>
<td width="25" valign="bottom"> </td>
<td width="155">
<form>
<select name="bereich2"
onChange="Go(this.form.bereich2.options[this.form.bereich2.options.selectedIndex].value)"
width="50">
<option value="nothing">Bereich2 </option>
<option value="nothing">. . . . . . . </option>
<option value=""onClick="parent.content.location='../content/content_rot.html';
parent.thumbs.location='../thumbs/thumbs_rot.html'; return
false;">rot</option>
<option value=""onClick="parent.content.location='../content/content_gruen.html';
parent.thumbs.location='../thumbs/thumbs_gruen.html'; return
false;">grün</option>
</select>
</form>
..
..
..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
this testweb works well in Mozilla and Netscape but not in Internet
Explorer.
http://www.netzwerkservice.com/test/frame/test_javascript_1007/
As I am not good at JavaScript I have got no idea where to look fot
the bug.
I kindly ask you for your help.
I add the parts of code that might be buggy.
Thank you very much for your patience with newbies.
Yvonne
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
..
..
..
<script language="JavaScript">
<!--
function Go(x)
{
if(x == "nothing")
{
document.forms[0].reset();
document.forms[0].elements[0].blur();
return;
}
else if(x == "end") top.location.href = parent.frames[1].location;
else
{
parent.frames[1].location.href = x;
document.forms[0].reset();
document.forms[0].elements[0].blur();
}
}
//-->
</script>
..
..
..
<form>
<select name="bereich1"
onChange="Go(this.form.bereich1.options[this.form.bereich1.options.selectedIndex].value)"
width="50">
<option value="nothing">Bereich1
<option value="nothing">. . . . . . . </option>
<option value=""onClick="parent.content.location='../content/content_gelb.html';
parent.thumbs.location='../thumbs/thumbs_gelb.html'; return
false;">gelb</option>
<option value=""onClick="parent.content.location='../content/content_blau.html';
parent.thumbs.location='../thumbs/thumbs_blau.html'; return
false;">blau</option>
</select>
</form>
</td>
<td width="25" valign="bottom"> </td>
<td width="155">
<form>
<select name="bereich2"
onChange="Go(this.form.bereich2.options[this.form.bereich2.options.selectedIndex].value)"
width="50">
<option value="nothing">Bereich2 </option>
<option value="nothing">. . . . . . . </option>
<option value=""onClick="parent.content.location='../content/content_rot.html';
parent.thumbs.location='../thumbs/thumbs_rot.html'; return
false;">rot</option>
<option value=""onClick="parent.content.location='../content/content_gruen.html';
parent.thumbs.location='../thumbs/thumbs_gruen.html'; return
false;">grün</option>
</select>
</form>
..
..
..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-