在连接里面:
<a href="..." target="_self">abcd</a>
把target指向自己

解决方案 »

  1.   

    showModelessDialog("xx.htm")==========
    xx.htm
    =========
    <frameset cols="0,*">
    <frame src="about:blank">
    <frame src="你的页面.htm">
    </frameset>
    你的页面.htm
    ==========
    <a href="sss" target="_self">open</a>你可以把frame的边框去掉,我就不做了:)
    关键:做个症
      

  2.   

    这样就行了?我试试!!iframe行不行?
      

  3.   

    但我这页是用来显示详细信息的!是window.showModelessDialog('show?id=……这样怎么办·
      

  4.   

    什么意思??"iframe直接写就应该可以的"
      

  5.   

    楼上的方法是正确的,使用frameset
      

  6.   

    不行啊,id值传不过去!!window.showModelessDialog('ShowProduct.aspx?id=……'……
    ShowProduct:<html>
    <head>
    <title>--详细信息--</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head><frameset rows="1,*" frameborder="NO" border="0" framespacing="0" cols="*"> 
      <frame name="topFrame" scrolling="NO" noresize src="about:blank" >
      <frame name="mainFrame" src="ShowProduct1.aspx">
    </frameset>
    <noframes><body bgcolor="#FFFFFF" text="#000000"></body></noframes>
    </html>
      

  7.   


    <frameset cols="0,*">
    <frame src="about:blank">
    <frame src="你的页面.aspx?id=xxxxxxxxxxx">
    </frameset>
      

  8.   

    window.showModalDialog(sURL [, vArguments] [, sFeatures])vArguments:Optional. Variant that specifies the arguments to use when displaying the document. Use this parameter to pass a value of any type, including an array of values. The dialog box can extract the values passed by the caller from the dialogArguments property of the window object.
      

  9.   

    那我用showModalDialog打开得这页该用什么文件??<frame src="你的页面.aspx?id=xxxxxxxxxxx">这个id怎么来??
      

  10.   

    从这里得到解决:
    ShowProduct.aspx加上<base target=_parent>就ok了!谢谢各位,结分!