会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
天魂殇
博客园
首页
新随笔
联系
订阅
管理
2016年9月27日
* 获取本周、本季度、本月、上月的开始日期、结束日期
摘要: /** * 获取本周、本季度、本月、上月的开始日期、结束日期 */ var now = new Date(); //当前日期 var nowDayOfWeek = now.getDay(); //今天本周的第几天 var nowDay = now.getDate(); //当前日 var nowMo
阅读全文
posted @ 2016-09-27 19:51 天魂殇
阅读(799)
评论(0)
推荐(0)
2016年5月23日
留言板
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> #a{width: 90%;height: 400px; overflow: scroll; border: 1px blac
阅读全文
posted @ 2016-05-23 08:32 天魂殇
阅读(162)
评论(0)
推荐(0)
如何增加标签
摘要: <ul id="a"> <li>aaaaaaaaa</li> <li>bbbbbbbbb</li> <li>ccccccccc</li> </ul> <br/> <input type="button" value="增加10节点" onclick="c()"/> <br/><br/><br/><b
阅读全文
posted @ 2016-05-23 08:31 天魂殇
阅读(191)
评论(0)
推荐(0)
2016年5月15日
用js修改css属性
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> #fuhao{width: 20px} </style> </head> <body> <div> <input type="
阅读全文
posted @ 2016-05-15 17:20 天魂殇
阅读(1335)
评论(0)
推荐(0)
如何用js返回顶部和跳转到所需位置及计时器
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> * { margin: 0; padding: 0 } p { width: 400px; font-size: 30px;
阅读全文
posted @ 2016-05-15 17:18 天魂殇
阅读(220)
评论(0)
推荐(0)
2016年5月8日
计算器
摘要: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <!--<meta http-equiv="content-type" content="text/html"; charset="GB2312"/>--> <title><
阅读全文
posted @ 2016-05-08 19:07 天魂殇
阅读(157)
评论(0)
推荐(0)
2016年4月10日
css利用定位制作雪碧图
摘要: <!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> .div1{ border: 5px solid black; } .div2{ width: 91px; height: 139
阅读全文
posted @ 2016-04-10 17:48 天魂殇
阅读(1353)
评论(0)
推荐(0)
2016年4月9日
HTML5的行内元素与块几元素
摘要: 块级元素: <caption></caption>定义表格标题 <dd></dd>定义列表中定义条目 <div></div>定义文档中的分区或节 <dl></dl>定义列表 <dt></dt>定义列表中的项目 <fieldset></fieldset>定义一个框架集 <form></form>创建
阅读全文
posted @ 2016-04-09 16:51 天魂殇
阅读(504)
评论(0)
推荐(0)
公告