⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 15-32.htm

📁 javascript制作的时钟
💻 HTM
字号:
    <html><head><title>即时提示演示</title>
    <style type="text/css">
        #divclass { font-size:12pt;
                    font-family: 宋体;
                    font-weight: bold;
                    background-color:aqua;
                    border:thin solid;
                    width: 210px;
                    height:40px;
                    visibility: hidden;  
                    position:absolute;
                    top: 50px;
                    left: 105px;
                    z-index: 1;   
        }
        a {
           font-family: 黑体;
           font-size: 18pt;
           font-weight: bold;
           color:white;
           position: absolute;
           left: 60px;
        }
        img { position:absolute; top: 50px; z-index:0; width:375px;height:230px}
    </style>
    <script language = "JavaScript">
        var div1;
        function init(){
           div1=document.getElementById("divclass");
        }
        function showHideTip(e) {
           if(e.type == "mouseover")
              div1.style.visibility="visible";
           else if(e.type == "mouseout"){
              div1.style.visibility="hidden";
           }
        }
    </script>
    </head>
    <body bgcolor=pink onLoad="init();">
       <a href="http://www.google.com"
          onMouseover="showHideTip(event);"
          onMouseout="showHideTip(event);"
          >巡航路上
       </a>
       <br>
       <img src="aircraft.jpg">
       <div id="divclass">
           海上生明月,天涯共此时。<br>
           情人怨遥夜,竟夕起相思。</div>
    </body>
    </html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -