<script language=javascript>
window.showModalDialog("2.htm",window,'dialogWidth:400px;dialogHeight:300px;dialogLeft:200px;dialogTop:150px;center: no;help:no;resizable:no;status:no')
</script>
在2.htm中写按钮和"欢迎光临"
window.showModalDialog("2.htm",window,'dialogWidth:400px;dialogHeight:300px;dialogLeft:200px;dialogTop:150px;center: no;help:no;resizable:no;status:no')
</script>
在2.htm中写按钮和"欢迎光临"
window.showModalDialog("2.htm",window,'dialogWidth:400px;dialogHeight:300px;dialogLeft:200px;dialogTop:150px;center: no;help:no;resizable:no;status:no')
</script>
在2.htm中写按钮和"欢迎光临"这是什么意思
用层怎么实现啊,能否交交啊<a onClick="alert('中华人民共和国')";href="http://127.0.0.1/to.asp" target="_blank">点击我</a>
我的就是要在这链接上实现,打开这链接行,请弹出对话框,但是对话框位置要能够改变,并且不能使用键盘的回车和空格,必须使用鼠标来打开
在不在啊myvicy(看着远方,走脚下的路。) 帮我看看啊,如何用层来实现,我作不出来啊,帮帮我行吗
function showme(top,left,msg,url){
document.getElementById("msg").style.top=top;
document.getElementById("msg").style.left=left;
document.getElementById("msg").innerHTML=msg+"<br><input type=button value=确认 onclick=window.open('"+url+"','_self')>";
document.getElementById("msg").style.display="block"
}
</script>
<div id=msg style="position:absolute;top:0;left:0;width:200;height:60;z-index:1000;background:#DDD;display:none;border:1 solid #AAA"></div>
<a onClick="showme(100,100,'中华人民共和国','http://127.0.0.1/to.asp');return false" href="#" target="_blank">点击我</a>一个简单的效果。
这种不是要的效果啊,太难看了
这种不是要的效果啊,太难看了