会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zerobased
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2016年11月5日
jq 的简单循环
摘要: var time=setInterval(add,2000);//定时器 function add(){ jQuery(".sisi li").first().hide(); jQuery(".sisi li").last().show(); var s =jQuery(".sisi li").fi
阅读全文
posted @ 2016-11-05 08:59 zerobased
阅读(206)
评论(1)
推荐(0)
2016年11月1日
简单的下拉菜单
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript" src="js/jquery-1.11.1.js" ></script> <script> $(
阅读全文
posted @ 2016-11-01 20:18 zerobased
阅读(153)
评论(0)
推荐(0)
jQ事件
摘要: <script type="text/jscript" src="js/jquery-1.11.1.min.js"></script> <script type="text/javascript"> // $(document).ready(function(){ // $("button").cl
阅读全文
posted @ 2016-11-01 15:56 zerobased
阅读(104)
评论(1)
推荐(0)
2016年10月31日
图片移动
摘要: <head> <meta charset="utf-8" /> <title></title> </head> <style type="text/css"> .divv{ position: relative; width: 400px; height: 220px; margin: 100px
阅读全文
posted @ 2016-10-31 08:00 zerobased
阅读(111)
评论(0)
推荐(0)
选中效果
摘要: body { background:url(http://img3.iqilu.com/data/attachment/forum/201308/21/171204uuemoyup4go3ksum.jpg) } *{margin: 0; padding: 0;} ul{list-style:none
阅读全文
posted @ 2016-10-31 07:58 zerobased
阅读(122)
评论(0)
推荐(0)
2016年10月28日
js 时间
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> .divv{ height: 100px; width:670px; background-color:#52
阅读全文
posted @ 2016-10-28 20:22 zerobased
阅读(105)
评论(0)
推荐(0)
简单的密码验证
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <script> window.onload=function(){ function $(id){ return document.getElementByI
阅读全文
posted @ 2016-10-28 12:01 zerobased
阅读(250)
评论(0)
推荐(0)
DOM 的简介 和一些方法
摘要: DOM 是 Document Object Model(文档对象模型)的缩写。 您能够以不同的方式来访问 HTML 元素: 通过使用 getElementById() 方法 —获取的确定的对象 通过使用 getElementsByTagName() 方法-获取是一个数组 通过使用 getElemen
阅读全文
posted @ 2016-10-28 11:21 zerobased
阅读(142)
评论(0)
推荐(0)
上一页
1
2
3
公告