上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: https://www.mashangpa.com/problem-detail/4/ 需要登录次才能完成 https://www.52pojie.cn/forum.php?mod=viewthread&tid=2044873&highlight=js���� 阅读全文
posted @ 2025-08-16 19:17 神仙不在 阅读(23) 评论(0) 推荐(0)
摘要: 代码片段 点击查看代码 setInterval(function () { let video = document.querySelector('video') if (video.paused) { video.play() } }, 1000) 阅读全文
posted @ 2025-08-16 17:01 神仙不在 阅读(15) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/1533705/202508/1533705-20250811220543768-646957711.png) 阅读全文
posted @ 2025-08-11 22:05 神仙不在 阅读(9) 评论(0) 推荐(0)
摘要: 手动选择play这个iframe上下文 document.querySelector('video').currentTime=document.querySelector('video').duration 阅读全文
posted @ 2025-08-09 13:40 神仙不在 阅读(8) 评论(0) 推荐(0)
摘要: 点击查看代码 let video = document.querySelector('video'); if (video) { // 检查视频元素是否存在 video.addEventListener('ended', function() { // 先检查是否存在active的li元素 let 阅读全文
posted @ 2025-07-30 09:42 神仙不在 阅读(19) 评论(0) 推荐(0)
摘要: visibilitychange 事件导致离开页面就自动暂停 点击查看代码 setInterval(function () { var current_video = document.getElementsByTagName('video')[0] current_video.play() }, 阅读全文
posted @ 2025-07-23 09:59 神仙不在 阅读(5) 评论(0) 推荐(0)
摘要: <html> <head> <meta charset="utf-8"> <title>搜索框</title> <style> div { width: 300px; height: 300px; border: 2px solid red; padding: 10px; box-sizing: b 阅读全文
posted @ 2025-07-21 17:26 神仙不在 阅读(15) 评论(0) 推荐(0)
摘要: colspan='3' 合并3列,宽骨变宽 rowspan='3' 合并3行,高度变高 阅读全文
posted @ 2025-07-20 15:48 神仙不在 阅读(7) 评论(0) 推荐(0)
摘要: 写在body标签上面,a标签不用写target="_blank了,太舒服了 阅读全文
posted @ 2025-07-20 11:52 神仙不在 阅读(6) 评论(0) 推荐(0)
摘要: 第一个子元素的margin-top和最后一个子元素的marhin-bottom会作用到父元素上 解决办法 父元素的 css添加 overflow:hidden 阅读全文
posted @ 2025-07-19 19:12 神仙不在 阅读(9) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 13 下一页