posts - 261,comments - 48,views - 91万
03 2016 档案
用JS控制图片随鼠标移动
摘要:里面主要用到的样式是position:fixed;和事件参数对象 浏览器在调用事件方法时,会创建一个事件参数对象,并将其传入到事件方法中 例如: 阅读全文
posted @ 2016-03-15 19:25 miaoying 阅读(1572) 评论(0) 推荐(0) 编辑
JS实现星级评分
摘要:鼠标点击后可保留颜色。 页面效果如下: 阅读全文
posted @ 2016-03-15 18:06 miaoying 阅读(2079) 评论(0) 推荐(0) 编辑
JavaScript实现样式表的简单切换
摘要:效果图如下:点击其中任意颜色,div的背景色也随着改变,JS基础~~~权当练练手~~~    阅读全文
posted @ 2016-03-13 17:36 miaoying 阅读(242) 评论(0) 推荐(0) 编辑
使用JS对HTML标签进行增删改查
摘要:以下为通过JS对li标签进行简单的增删改查: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset= 阅读全文
posted @ 2016-03-11 19:23 miaoying 阅读(4572) 评论(1) 推荐(0) 编辑
JS里的onclick事件
摘要:可以通过以下代码了解JS里的onclick事件: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charse 阅读全文
posted @ 2016-03-10 20:22 miaoying 阅读(2336) 评论(0) 推荐(0) 编辑
JavaScript创建表格的两种方式
摘要:方式一: var data = [ { id: 1, name: "first", age: 12 }, { id: 2, name: "second", age: 13 }, { id: 3, name: "three", age: 12 }, { id: 4, name: "fore", age 阅读全文
posted @ 2016-03-10 20:11 miaoying 阅读(2243) 评论(0) 推荐(0) 编辑
SqlHelper类
摘要:using System; using System.Data; using System.Xml; using System.Data.SqlClient; using System.Collections; using System.Configuration; namespace BookDA 阅读全文
posted @ 2016-03-08 20:35 miaoying 阅读(363) 评论(0) 推荐(0) 编辑
UTC格式转换 & 十六进制换算为十进制
摘要:UTC格式转换成北京时间格式: /// <summary> /// UTC格式与datatime的转换 /// </summary> /// <param name="utc"></param> /// <returns></returns> public DateTime ConvertIntDa 阅读全文
posted @ 2016-03-08 20:18 miaoying 阅读(1304) 评论(0) 推荐(0) 编辑
CRC校验代码实现
摘要:1.CRC校验简介 CRC就是块数据的计算值,它的全称是“Cyclic Redundancy Check”,中文名是“循环冗余码”。CRC校验是数据通讯中最常采用的校验方式。在嵌入式软件开发中,经常要用到CRC 算法对各种数据进行校验。所谓通讯过程的校验是指在通讯数据后加上一些附加信息,通过这些附加 阅读全文
posted @ 2016-03-08 20:08 miaoying 阅读(6754) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示