• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
我的代码笔记
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 ··· 12 下一页

2019年2月21日

日期的插件
摘要: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width,initial-sc 阅读全文
posted @ 2019-02-21 17:40 我的代码笔记 阅读(251) 评论(0) 推荐(0)
 
 

2019年2月18日

微信游戏的项目
摘要: 抽签游戏:http://game.vimionline.com/games/g201901.lhcq.index/index.html 集字游戏:http://game.vimionline.com/games/g201901.dayuyx.index/index.html 个税小游戏:http:/ 阅读全文
posted @ 2019-02-18 16:44 我的代码笔记 阅读(168) 评论(0) 推荐(0)
 
split用法
摘要: 例1:基本的分割split() var str="How are you doing today?" var a=str.split(" ")//分别输出5个单词,数组 console.log(a) var b=str.split('')//将每个字母输出来,包括空格,是数组 console.log 阅读全文
posted @ 2019-02-18 15:15 我的代码笔记 阅读(224) 评论(0) 推荐(0)
 
javascript常见的几种事件类型
摘要: 第一种事件类型:onchange() <body> <select id="sheng" onchange="fn1();"> <option value="0" selected="selected">请选择</option> <option value="1">河南省</option> <opt 阅读全文
posted @ 2019-02-18 14:40 我的代码笔记 阅读(1092) 评论(0) 推荐(0)
 
input的焦点事件
摘要: <body> <h3>表单中文本框的focus和blur事件</h3> <input id="txtest" type="text" value="" /> <div></div> <script type="text/javascript"> (function(){ var html=docum 阅读全文
posted @ 2019-02-18 14:00 我的代码笔记 阅读(3838) 评论(0) 推荐(0)
 
 

2019年2月15日

长按识别二维码
摘要: tips[index].onclick=function(){ var w = $("#app").width(); var h = $("#app").height(); var canvas=document.createElement("canvas") canvas.width = w * 阅读全文
posted @ 2019-02-15 16:59 我的代码笔记 阅读(882) 评论(0) 推荐(0)
 
 

2019年1月29日

随机出现一个页面
摘要: <!DOCTYPE html><html><head><meta charset="utf-8" /><title>无标题文档</title><style>#a{ display:none;width:300px;height:300px;background:#0C3}#b{ display:no 阅读全文
posted @ 2019-01-29 13:27 我的代码笔记 阅读(343) 评论(0) 推荐(0)
 
 

2019年1月23日

移动端往上滑动的页面
摘要: // PageSlide接收三个参数:页面元素,要设定的滑动方向,可选的扩展函数 var PageSlide = function(el, swipe, options) { this.options = options || {}; //可选函数 this.current = 0; //当前页面索 阅读全文
posted @ 2019-01-23 10:12 我的代码笔记 阅读(1010) 评论(0) 推荐(0)
 
 

2019年1月22日

解决移动端苹果页面的键盘问题
摘要: window.onload=function(){ var n=document.querySelectorAll('input,textarea'); Array.prototype.forEach.call(n,function(dom){ var pageDom=5; dom.onblur=f 阅读全文
posted @ 2019-01-22 20:25 我的代码笔记 阅读(359) 评论(0) 推荐(0)
 
 

2019年1月19日

前端知识链接
该文被密码保护。 阅读全文
posted @ 2019-01-19 16:01 我的代码笔记 阅读(0) 评论(0) 推荐(0)
 
 
上一页 1 2 3 4 5 6 7 ··· 12 下一页

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3