Здравствуйте, PhoenixNET, Вы писали:
[skipped]
PNE>Что посоветуете?
Если ещё актуально, то что-то типа этого:
index.html:
<html>
<body onload = "init()">
<script>
function init ()
{
document.in2.rd[0].checked = "checked";
parent.frm1.document.getElementById("DivE").style.visibility = 'visible';
parent.frm1.document.getElementById("DivF").style.visibility = 'hidden';
}
function choise ()
{
if (document.in2.rd[0].checked)
{
parent.frm1.document.getElementById("DivE").style.visibility = 'visible';
parent.frm1.document.getElementById("DivF").style.visibility = 'hidden';
}
else
if (document.in2.rd[1].checked)
{
parent.frm1.document.getElementById("DivF").style.visibility = 'visible';
parent.frm1.document.getElementById("DivE").style.visibility = 'hidden';
}
}
</script>
<div>
<iframe name="frm1" src = "index1.html" height = "50%" width = "20%">
</iframe>
</div>
<form name = "in2">
<input type = "radio" name = "rd" onclick = "choise()">
Ето див один
<br>
<input type = "radio" name = "rd" onclick = "choise()">
Ето див два
</form>
<form name="main">
</form>
</body>
</html>
index1.html:
<html>
<body>
<form name = "in1">
<div id = "DivE" style = "visibility : visible;">
Ето див один
</div>
<div id = "DivF" style = "visibility : visible;">
Ето див два
</div>
</form>
</body>
</html>