`

件_事_出_退_载_加_S_J

    博客分类:
  • S_J
 
阅读更多
<html>
  <head>
<meta http-equiv="Page-Enter" content="revealTrans(duration=5, transition=1)">
    <meta http-equiv="Page-Exit" content="revealTrans(duration=5, transition=0)">
    <title>Google Maps JavaScript API Example</title>
    <script type="text/javascript">

function openWindow(){
<!--
window.open ("page.html","newWindow","height=100,width=100,top=100,left=100,toolbar=no,menubar=no,scrllbars=no,resizable=no,status=no");
-->
}

function load(){
//alert("加载中...");
openWindow();
}

function unLoad(){
//alert("推出中...");
}

document.oncontextmenu = function() {
alert("禁止右键");
return false;
}

    </script>
  </head>
  <body onload="load()" onunload="unLoad()">
<input type="button" value="打开窗口" onclick="openWindow()">
<input type=button value=查看网页源代码 >
<input style="ime-mode:disabled">
<a href="page.html">sss</a>
<input type=button value=加入收藏夹 onclick="window.external.AddFavorite('http://www.google.com/', 'google')">
  </body>
</html>

分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

Global site tag (gtag.js) - Google Analytics