左侧一个Iframe ,通过function OnClick(string Top , string Bottom)
Top指定右上角一个窗口的网页地址
Bottom指定右下角一个窗口的网页地址
很简单的代码~~急请教各位高人~~~~~~~~~~~~~~~~~~~~~~~

解决方案 »

  1.   

    <a href = "" OnClick = "javaScript:OnClick()"></a>
      

  2.   

    <script language="javascript">
    function OnClickFrame(top , bottom)
    {
      var right_top = top;
                                 var  right_bottom = bottom;
        parent.frames('rtop').document.location.href='+right_top +';
     parent.frames('rbottom').document.location.href='+ right_bottom+'; }
                            </script>
    大概思路是这样,汗。。不知道怎样写,请高人纠正下语法!谢谢!!