会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
随缘的一个人
一枚爱技术的大龄码农
博客园
首页
新随笔
联系
订阅
管理
2024年9月7日
【JavaScript】js代码实现全屏以及取消全屏
摘要: 代码如下,直接拷贝即可用 $("#button").on("click", function toggleFull() { if ((document.fullScreenElement !== undefined && document.fullScreenElement null) || (do
阅读全文
posted @ 2024-09-07 00:30 随缘的一个人
阅读(39)
评论(0)
推荐(0)
公告