当前位置:
代码迷
>>
JavaScript
>> 用document.write()的方式弹出对话框时,怎样控制弹出对话框的位置,该如何解决
详细解决方案
用document.write()的方式弹出对话框时,怎样控制弹出对话框的位置,该如何解决
热度:
62
发布时间:
2012-03-25 20:55:16.0
用document.write()的方式弹出对话框时,怎样控制弹出对话框的位置
如题,在网页中弹出的对话框位置偏下了点,想把它望上移一点,不知道怎么做,望高手指点一二。
------解决方案--------------------
w = window.open("","","left=10,top=10")
w.document.write("content")
查看全文
相关解决方案
jquery中$(document).ready(function()是jquery开始要写的一句话,javaWeb项目中,这句话什么时候开始实施呢
response.write(session.getAttribute("BranchName")提示异常
document.form1.submit() 揭示拒绝访问
document.all的用法,该如何处理
ASP和j2me通讯response.write("ssss")写回客户端.总是有Herd,body等标签,该怎么解决
document.getElementById(。)对象不存在,该如何解决
求教:小弟我的程序引入jxl包,小弟我把小弟我的程序打成jar包后,运行报NoClassFoundError:jxl/write/WritableCell
运行winform程序的时候 console.write()输出在哪显示?该怎么解决
运作winform程序的时候 console.write()输出在哪显示
Cfile write()操作有关问题请问
document.getElementById("input").checked;转换成Jquery,如何写
Response.Write("您无权访问!");Response.Redirect("login.aspx")
Response.Write("<script>alert('')</script>"); 不起作用,该怎么处理
无刷新更换验证码图片"onclick="document.getElementById('ImgCode').src='./VerifyCode.aspx'"无效,该怎么处理
怎么自动执行<a href="document.html" target="parent">my document</a> 呢
關於Response.write()的簡單問題解决方法
Response.Write()不输出解决方法
response.write()输出之后如何换行写第二个response.write()
Web应用“无法操作保护内存”错误,Attempted to read or write protected memory
Response.Write() 无法调用前台js脚本函数,该如何处理
使用MagicAJax的AjaxPanel时有时会弹出"Using the AjaxCallHelper write methods outside of an AjaxCall is not allowed."请教如何解决
问问个有关问题,Response.Write(""),怎么返回原来带有数据的叶面
网站总体编码用的是UTF-8这个是不能改的!在js的一个函数里要用到document.write();输出一些汉字却得到的是乱码如何解决
我在一个类中使用System.Web.HttpContext.Current.Response.Write,这个东东会在页面源代码的前面(也就是最前面)输出脚本,现在的有关问题是如果被这样一搞,使用css的居中就有有关问题
为啥同样是document.write()却出现两个结果?初学JS,请高人帮助解答一下。100分,100分,100分,你必须说明白才给你
document.write()不覆盖其它元素,该怎么解决
Response.Write("<font color=red>" + "出错了!")用RegisterClientScriptBlock怎么写
response.write()的有关问题
Response.Write(js脚本)后 Response.redirect(.),为什么js脚本不执行,如何解决
Microsoft JScript 运行时异常: 'document.getElementById(.)' 为空或不是对象