上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 39 下一页
摘要: $(".gameSound").bind("click",function() { var audio = document.getElementById('music1'); if(audio.paused){ $(".gameSound").css({ //切换到播放的背景图片 "backgro 阅读全文
posted @ 2019-08-02 14:31 武卡卡 阅读(1872) 评论(0) 推荐(0) 编辑
摘要: $("button").on("click",function(){ $('embed').remove(); $('body').append('<embed src="../../../sound/hit.mp3" autostart="true" hidden="true" loop="fal 阅读全文
posted @ 2019-08-01 17:05 武卡卡 阅读(1780) 评论(0) 推荐(0) 编辑
摘要: (1)atom-ternjs : js(e6)的自动补充 (2)key-binding-mode : atom 快捷键管理 (3)pre-view : pdf预览 (4)activate-power-mode : 相信很多人开始用atom是因为看了关于这个超级炫酷的动画来的,它让你敲代码的时候产生炫 阅读全文
posted @ 2019-07-29 21:31 武卡卡 阅读(696) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blog.csdn.net/fengzhen8023/article/details/81281117 上周完成一个PC端的项目,对于我这样的小白来说,这个项目里面最大的问题就是,如何做到让HTML页面适应电脑的不同分辨率。 通过师傅的指导和自己查阅资料,最终成功适配不同的 阅读全文
posted @ 2019-07-29 15:15 武卡卡 阅读(4685) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function(){ $("body").click(function(){ if(!event.srcElement.type) { $("input").blur(); } }) }) $(document).ready(function(){ $("bod 阅读全文
posted @ 2019-07-26 16:34 武卡卡 阅读(3983) 评论(0) 推荐(0) 编辑
摘要: var a = "" function aa() { a="卡卡" } aa() // 注意,aa() 一定要执行,局部赋值全局变量才会有作用 alert(a) 阅读全文
posted @ 2019-07-25 22:20 武卡卡 阅读(6883) 评论(0) 推荐(2) 编辑
摘要: 要将 api.addEventListener 放在最前面 , 减少受到其他事件的影响 apiready = function () { api.addEventListener({ name : 'close' }, function(ret, err) { 。。。 }); api.addEven 阅读全文
posted @ 2019-07-25 16:29 武卡卡 阅读(1186) 评论(0) 推荐(0) 编辑
摘要: <?php session_start(); $codeT = strtoupper(trim($_POST['codeT']));//接收前端传来的数据,转换成大写 $raw_success = array('codeT' => 1, 'msg' => '验证码正确'); $raw_fail = 阅读全文
posted @ 2019-07-21 11:10 武卡卡 阅读(397) 评论(0) 推荐(0) 编辑
摘要: input{ padding: 20px; width: 100%; height: 5vh; margin-bottom: 2vh; border-radius: 10vw; border: 0; outline-style: none; } input{ padding: 20px; width 阅读全文
posted @ 2019-07-20 21:29 武卡卡 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 网页可见区域宽:document.body.clientWidth; 网页可见区域高:document.body.clientHeight; 网页可见区域高:document.body.offsetWidth (包括边线的宽);网页可见区域高:document.body.offsetHeight ( 阅读全文
posted @ 2019-07-20 18:19 武卡卡 阅读(301) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 39 下一页