首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

弹出网页有关问题

2012-02-01 
弹出网页问题我想让弹出的网页不要任何菜单,就连IE的图标和 MicrosoftInternetExplorer 也不要,能不能实

弹出网页问题
我想让弹出的网页不要任何菜单,就连IE的图标和 "Microsoft   Internet   Explorer "也不要,能不能实现?那位高手能帮帮忙?我急着要啊.


谢谢!!

[解决办法]
这个太强了,不懂,帮顶~~
[解决办法]
自己用DIV模拟一个吧~~
[解决办法]
<body onmousemove= "moveIt(); " onmouseup= "end(); " ondragstart= "return false; ">

<script>
var isDrag = false;

var oldX=0,oldY=0;
function init(){
isDrag=true;
oldX=event.x;
oldY=event.y;
}
function end(){
isDrag=false;
}
function moveIt(){
if(isDrag){
var x =window.event.x;
var y = window.event.y;

hdl.parentNode.style.left = parseInt(hdl.parentNode.style.left.replace( "px ", " ")) + (x - oldX);
hdl.parentNode.style.top = parseInt(hdl.parentNode.style.top.replace( "px ", " ")) + (y - oldY);

oldX = x;
oldY = y;
}
}
</script>
<div id= "back " onmousemove= "moveIt(); " onmouseup= "end(); " style= "position:absolute;left:0;top:0;width:1000;height:660;visibility:hidden; "> </div>
<div onmousedown= "init(); " onmousemove= "moveIt(); " onmouseup= "end(); " style= "border:1px outset #333333;position:absolute;filter:alpha(opacity=70);top:0;left:0;width:400;height:300 ">
<div id= "hdl " style= "background:#333377;width:100%;height:20;color:white "> <b> 窗口 </b> </div>
<div style= "background:#dddddd;width:100%;height:280 ">
<input type= "button " value= "变暗效果 " onclick= "back.style.background= '#333333 ';back.style.filter= 'alpha(opacity=40) ';back.style.visibility= ' '; ">
</div>
</div>

</body>

热点排行