try:window.showModalDialog("frameset.htm","...frameset.htm
<frame src="help01.htm#010602">

解决方案 »

  1.   

    在help01.htm里加入以下代码(不要颠倒顺序)<a id="cl" href="#010602"></a>
    <script>cl.click();</script>
      

  2.   

    to: wsj(骆驼) 
      不行呀,你能把 它写全吗?
      

  3.   

    index.htm<script>
    window.showModalDialog("help01.htm","010602","dialogHeight:500px; dialogWidth: 650px; dialogTop: 540px; dialogLeft: 158px; edge: Sunken;center: No; help: No; resizable: No; status: Yes;");</script>help01.htm:<SCRIPT LANGUAGE=javascript>
    <!--
    function test(){
    var t=window.dialogArguments;

    var o=document.getElementsByName(t);
    alert(o[0].tagName);
    //o[0].;
    //document.all.text1.focus();
    o[0].focus();
    }
    //-->
    </SCRIPT><body onload="test()">
    <a href="###" name="010602">test</a>
    </body>
      

  4.   


    window.showModalDialog("frameset.htm","fff","dialogHeight:500px; dialogWidth: 650px; dialogTop: 540px; dialogLeft: 158px; edge: Sunken;center: No; help: No; resizable: No; status: Yes;");
    frameset.htm
    <iframe src="help01.htm#010602" height=500 width=650>