被加载的网页的 <title></title> 设置是什么就是什么, 不可以更改
解决方案 »
- 有没有jquery排序插件, 或者JS排序插件啊?
- 求接收类似f3a这种颜色代码并转换成ff33aa的最快方法
- (JS)div收缩的时候 子元素没有跟进(兼容问题)
- 求一个打开返回文件名的对话框代码段
- 在FIREFOX下 如何让一对象获得焦点?
- 请教如何用js验证输入的银行帐号的合法性呢?
- 为什么得到的offsetHeight的值是一样的?
- [求助]鼠标放到图片上时,图片停止滚动
- 有关文本输入的问题
- 怎么判断一个变量的内容是不是为空?(null)
- 如何调用Windows设置字体大小窗口而改变选择区域的文字大小?或者如何改变选择区域的文字大小?绝对大小 font-size=9pt
- Div的高度设置问题
2. 在服务器端就设置好这个<title><%= title ></title>
3. 在客户端是没有办法修改的.
<title><%=Request.QueryString["iTitle"]%></title>
{
var DialogArgument=new Array();
DialogArgument["src"]="AnnexListAction.do";
DialogArgument["title"]="Attachments";
var num=showModalDialog(homeUrl+"/DialogFrame.htm",DialogArgument,"status:no;resizable:no;help:no;dialogHeight:350px;dialogWidth:600px;");
obj.innerText=num;
}
-----------------------------
DialogFrame.htm<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb-2312">
<script language=javascript> var DialogArgument=window.dialogArguments;
if (DialogArgument!=null) document.write("<title>"+DialogArgument.title+"</title>");
else document.write("<title>Dialog</title>");
</script>
<title>Dialog</title>
</head><body leftMargin=0 rightMargin=0 topMargin=0 bottomMargin=0 onload="initFun();">
<iframe src="/blank.html" width=100% height=100% id=dialogIframe></iframe>
</body></html>
<script language=javascript>function initFun()//
{ if (DialogArgument!=null) document.all.dialogIframe.src=DialogArgument.src;
else alert('Sorry! Perhaps you are use this page wrongly');
}
</script>