如何禁用地址栏vsnet2003 [英] how to disable address bar vsnet2003

查看:80
本文介绍了如何禁用地址栏vsnet2003的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何禁用地址栏vsnet2003

how to disable address bar vsnet2003

推荐答案

使用Java脚本禁用地址栏,如图所示
Use Javascript to Disable Address bar as shown
<script type="text/jscript" language="javascript">
    function fullScreen(theURL)
     {
         var newWindow;
         newWindow = window.open(theURL, '_blank', 'toolbars=no,menubar=no,location=no,scrollbars=yes,resizable=yes,status=yes');
        newWindow.moveTo(0,0)
        newWindow.resizeTo(screen.width, screen.height);
        //Disabling the print screen event
        setInterval("window.clipboardData.setData('text','')", 20);
        return false;
    }



位置是地址栏",您可以将其设置为true或false
调用Javascript功能onload
如图所示

< bodyönload="fullScreen(index.htm);"></body>



Here Location is the "Address bar" you can make it as true or false
Call the Javascript fuction onload
as shown

<body önload="fullScreen(index.htm);"></body>


您要考虑的问题:请详细说明是否要禁用浏览器地址栏或使用禁用它的代码..
what you want to consider : please elaborate do you want to disable browser address bar or using code to disable it ..


这篇关于如何禁用地址栏vsnet2003的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆