self-confidence,the source of all the power

导航

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页

2012年5月17日 #

JQuery效果

摘要: jQuery 效果 函数描述$(selector).hide()隐藏被选元素$(selector).show()显示被选元素$(selector).toggle()切换(在隐藏与显示之间)被选元素$(selector).slideDown()向下滑动(显示)被选元素$(selector).slideUp()向上滑动(隐藏)被选元素$(selector).slideToggle()对被选元素切换向上滑动和向下滑动$(selector).fadeIn()淡入被选元素$(selector).fadeOut()淡出被选元素$(selector).fadeTo()把被选元素淡出为给定的不透明度$(sel 阅读全文

posted @ 2012-05-17 16:09 漩涡鸣人 阅读(179) 评论(0) 推荐(0)

JQuery事件

摘要: jQuery 事件下面是 jQuery 中事件方法的一些例子:Event 函数绑定函数至$(document).ready(function)将函数绑定到文档的就绪事件(当文档完成加载时)$(selector).click(function)触发或将函数绑定到被选元素的点击事件$(selector).dblclick(function)触发或将函数绑定到被选元素的双击事件$(selector).focus(function)触发或将函数绑定到被选元素的获得焦点事件$(selector).mouseover(function)触发或将函数绑定到被选元素的鼠标悬停事件方法描述bind()向匹配元素 阅读全文

posted @ 2012-05-17 15:15 漩涡鸣人 阅读(191) 评论(0) 推荐(0)

JQuery 语法

摘要: http://www.w3school.com.cn/jquery/jquery_intro.asp库Google 和 Microsoft 对 jQuery 的支持都很好。如果您不愿意在自己的计算机上存放 jQuery 库,那么可以从 Google 或 Microsoft 加载 CDN jQuery 核心文件。使用 Google 的 CDN<head><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js 阅读全文

posted @ 2012-05-17 11:26 漩涡鸣人 阅读(241) 评论(0) 推荐(0)

JQuery 选择器

摘要: http://www.w3school.com.cn/jqueryjQuery 元素选择器jQuery 使用 CSS 选择器来选取 HTML 元素。$("p") 选取 <p> 元素。$("p.intro") 选取所有 class="intro" 的 <p> 元素。$("p#demo") 选取 id="demo" 的第一个 <p> 元素。jQuery 属性选择器jQuery 使用 XPath 表达式来选择带有给定属性的元素。$("[href]" 阅读全文

posted @ 2012-05-17 11:23 漩涡鸣人 阅读(190) 评论(0) 推荐(0)

2012年3月19日 #

python 编码方式

摘要: VI中识别python 程序的代码:#!/usr/bin/env python# encoding=utf8 阅读全文

posted @ 2012-03-19 16:17 漩涡鸣人 阅读(349) 评论(0) 推荐(0)

python list 成员交集

摘要: b1=[1,2,3]b2=[2,3,4]正则表达式:b3 = [i for i in b1 if i in b2]自带集合函数set()b3=list(set(b1) & set(b2))列表中的列表,用到函数filter() 阅读全文

posted @ 2012-03-19 15:00 漩涡鸣人 阅读(356) 评论(0) 推荐(0)

2012年3月14日 #

NS3 NodeContainer

摘要: NodeContainer n=NodeContainer(n1,n2,...,nm);m值不能大于5,包含个数不能超五个。。 阅读全文

posted @ 2012-03-14 15:37 漩涡鸣人 阅读(1350) 评论(0) 推荐(0)

2012年3月13日 #

NS3 IP首部校验和

摘要: 未作整理。。。NS3中的包IP首部校验和功能是默认关闭的,需要主动设置才行。。Just because ns-3 disable the checksum, you can enable it byGlobalValue::Bind ("ChecksumEnabled", BooleanValue (true));in ns-3.8:CalcChecksum attribute changesFour IPv4 CalcChecksum attributes (which enable the computation ofchecksums that are disable 阅读全文

posted @ 2012-03-13 10:06 漩涡鸣人 阅读(663) 评论(0) 推荐(0)

2011年12月26日 #

硬盘对齐加速电脑

摘要: http://acer.it168.com/thread-1881097-1-1.htmlhttp://blog.sina.com.cn/s/blog_4ca843920100ig4j.html 阅读全文

posted @ 2011-12-26 11:19 漩涡鸣人 阅读(194) 评论(0) 推荐(0)

2011年12月23日 #

NS3编译运行

摘要: 程序前面导入的头文件(也是一系列的头文件组合在一起的模块头文件)放在../build/debug/ns3/下面。首先介绍一种最简单允许 examples 和 tests的方法:$./waf configure --enable-examples --enable-tests$./waf build1.当一次使用 build.py 运行禁止: $ ./build.py允许: $ ./build.py --enable-examples --enable-tests2.第一次使用 waf 运行build禁止:$./waf configure$./waf build允许:$./waf configu 阅读全文

posted @ 2011-12-23 09:55 漩涡鸣人 阅读(3410) 评论(0) 推荐(1)

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页