<script>
document.title="这是自定义的标题哦"
</script>

解决方案 »

  1.   

    <script>
    x=window.open("a.htm")
    x.document.title="这是自定义的标题哦"
    </script>
      

  2.   

    xx=window.open(pathname,"openbody","",true);
    xx.document.title="asdfasdfasdfasdfasdf";
    没有改过来.有时没有反应,有时提示运行时间错误
      

  3.   

    你要是直接修改这个页面的标题肯定不行地
    一是你直接知道打开的文件,直接修改等同于<title></title>里修改二是用个框架,传递信息,你得看看你是否有权限来修改(一般只能改本机文件)
    比如刚才你说出错,是否有权限来修改呢?
      

  4.   

    建议这么做,打开一个有框架的页面,在框架中显示你的附件,你可以控制title了:)
      

  5.   

    1。function OpenHtm(Item,fileName)//点击之后的弹出窗口函数 item文件名字,filename是其中文名称
    {
      window.open('DR_Show_AttFile.asp?AttFile='+ Item + '&fileName=' + fileName,"瀏覽", "menubar=no,toolbar=no,directories=no,location=no,status=yes,scrollbars=Yes,resizable=yes,copyhistory=no,width=700,height=450");
      
    }2。在'DR_Show_AttFile.asp用函数response.write进来,调用自己写的函数,这样的好处是,可以自动带入名称给DR_Show_AttFile.asp,最主要是我要防止用户点右键,因为是用户上传的文件,我不能把屏蔽右键的javascript固定写入,然后load进用户上传的文件!