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

📄 ex12-22.htm

📁 《JAVASCRIPT 动态网页编程实例手册》一书中的源代码
💻 HTM
字号:
    <html><head><title>增强鼠标指针功能演示 </title>
    <script>
    <!--  
      function enhancecursor() {
         cursorplus.style.posLeft=event.clientX-10;
         cursorplus.style.posTop=event.clientY-10;
      }
    //   -->
    </script>
    </head>
    <body onMouseMove="enhancecursor();" >
    <div ID="cursorplus" 
      style="position:absolute;top:10;left:10;height:20;width:20;background-color:red">
    </div> <center>
    <h3>《新嫁娘》 </h3><br>
    <h2>作者:王建 </h2><br><br>
    <h1>三日入厨下,洗手作羹汤。 </h1>
    <h1>未谙姑食性,先遣小姑尝。 </h1>
    </center>
    </body>
    </html>

⌨️ 快捷键说明

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