友情链接平台 【免备案】香港独立IP虚拟主机 直接用IP地址访问网站 199元一年 【弹窗联盟】全部6块其余5块

  
                    

网站页面信息

标题: » 便便代码人生 Go to bianbian.org
描述:bianbian coding life
关键字:bianbian,便便,blog,Technology
sponsored links:
连接:
图片:20 个图片, 12 个没有Alt标签    查看所有图片
网站历史:创建于:- 年龄:-  查看历史记录

网站流量与估价

网站流量:IP ≈1,560   PV ≈2,028
网站估价:¥2,468   日广告收入: ¥3  (注:不包含域名价值,不代表公司价值)

网站排名

Alexa全球排名:当日: -  一周: 971,944  三个月: 971,944  查看详情
Google Page Rank:
 4
真假PR鉴别:   (提示:若此处显示网站与查询网站不同,则疑为劫持PR)
Sogou Rank: 0  
百度快照日期:  查看详情

搜索引擎收录

搜索引擎收录情况反向链接
 谷歌Google:-  查看详情 -  查看详情
 百度Baidu:5  查看详情 2,130  查看详情
 微软Bing:0  查看详情 0  查看详情
 搜搜Soso:734  查看详情 479  查看详情
 雅虎Yahoo:1,884  查看详情 4,951  查看详情
 有道Youdao:151  查看详情 70  查看详情
 搜狗Sogou:-  查看详情 -  查看详情

服务器信息

Web服务器:nginx
IP地址:74.207.241.139    有约 1 个站点运行在此服务器上  查看详情
IP所在地:美国 新泽西州亚特兰提克县阿布西肯市Linode有限责任公司
 UNITED STATES, -, -, : 纬度38.904800415, 经度: -77.0354003906

域名注册信息

注册人:bian bian
Email:bianbian
ICANN注册机构:Public Interest Registry
创建时间:2008-01-10
修改时间:2008-12-27
过期时间:2011-01-10
状态:OK
Name Server:ns.edong.com(222.73.173.3)
ns1.edong.com(222.191.251.125)
Whois Server:org.whois-servers.net

Alexa 排名走势数据

流量统计: 当日 一周平均 三个月平均
排名: - 971,944 971,944
PV: 0 1.30000 1.30000
日独立IP: ≈0 ≈1,040 ≈1,040

网站在各国/地区的排名

国家排名

国家/地区访问比例

国家访问比例

下属子站点被访问比例

子站点域名访问比例

Alexa 排名走势图

Alexa Reach走势图

域名 Whois 记录

Who is bianbian.org at org.whois-servers.net

NOTICE: Access to .ORG WHOIS information is provided to assist persons in

determining the contents of a domain name registration record in the Public Interest Registry

registry database. The data in this record is provided by Public Interest Registry

for informational purposes only, and Public Interest Registry does not guarantee its

accuracy. This service is intended only for query-based access. You agree

that you will use this data only for lawful purposes and that, under no

circumstances will you use this data to: (a) allow, enable, or otherwise

support the transmission by e-mail, telephone, or facsimile of mass

unsolicited, commercial advertising or solicitations to entities other than

the data recipient's own existing customers; or (b) enable high volume,

automated, electronic processes that send queries or data to the systems of

Registry Operator or any ICANN-Accredited Registrar, except as reasonably

necessary to register domain names or modify existing registrations. All

rights reserved. Public Interest Registry reserves the right to modify these terms at any

time. By submitting this query, you agree to abide by this policy.



Domain ID:
D150600976-LROR

Domain Name:BIANBIAN.ORG

Created On:10-Jan-2008 01:18:19 UTC

Last Updated On:27-Dec-2008 07:56:13 UTC

Expiration Date:10-Jan-2011 01:18:19 UTC

Sponsoring Registrar:Xin Net Technology Corporation (R118-LROR)

Status:OK

Registrant ID:JUE5UVKAFEJES

Registrant Name:bian bian

Registrant Organization:bianbian sunshow net

Registrant Street1:bianbian

Registrant Street2:

Registrant Street3:

Registrant City:bianbian

Registrant State/Province:Jiangsu

Registrant Postal Code:210089

Registrant Country:CN

Registrant Phone:+86.2588888888

Registrant Phone Ext.:

Registrant FAX:+86.2588888888

Registrant FAX Ext.:

Registrant Email:bianbian

Admin ID:JUE5UVKZZP4OX

Admin Name:blog bianbiansunshownet

Admin Organization:bianbian sunshow net

Admin Street1:bianbian

Admin Street2:

Admin Street3:

Admin City:bianbian

Admin State/Province:Jiangsu

Admin Postal Code:210089

Admin Country:CN

Admin Phone:+86.2588888888

Admin Phone Ext.:

Admin FAX:+86.2588888888

Admin FAX Ext.:

Admin Email:bianbian

Tech ID:JUE5UVL19S334

Tech Name:blog bianbiansunshownet

Tech Organization:bianbian sunshow net

Tech Street1:no detail address

Tech Street2:

Tech Street3:

Tech City:bianbian

Tech State/Province:Jiangsu

Tech Postal Code:210089

Tech Country:CN

Tech Phone:+86.2588888888

Tech Phone Ext.:

Tech FAX:+86.2588888888

Tech FAX Ext.:

Tech Email:bianbian

Name Server:ns.edong.com

Name Server:ns1.edong.com

Name Server:

Name Server:

Name Server:

Name Server:

Name Server:

Name Server:

Name Server:

Name Server:

Name Server:

Name Server:

Name Server:

DNSSEC:Unsigned

网站缩略图

  » 便便代码人生
sponsored links:

网站访问速度测试

1.00秒 很快
重新测速
国内Ping速度测试      国内TraceRoute路由测试
美国Ping速度测试      美国TraceRoute路由测试

网站关键字指数 (越高越热门)

NO.关键字指数
1bianbian
2便便
3blog
4Technology

域名 bianbian 其他后缀注册情况   查看更多

后缀 注册时间 到期时间 是否注册
.com
.net
.org
.cn
.com.cn
.asia
.mobi

同类相似网站

查看更多
Alexa标题
990,318» 便便代码人生
218,699+ Dynamite // Tisdale-Fan.com » Your number one source for every
339,417webBloggers.de - rockt! »» Wordpress, Google, Geld verdien
1,609,599{ Thunderfuel™ }-- Digital Mercenary Coalition » Games &ra
5,820» Oto Komisyon ve Sigorta Takip İşlemleri » » Sı
5,823» Erçal Kamyon Tır Pazarı » » Sıfır 2.el Otom
6,082» Cadde Motors & Subaru Bayi » » Sıfır 2.el Otomo
5,975» Doğan Kardeşler Otomotiv » » Sıfır 2.el Otomo
5,805» Pırlanta Akarlar Otomotiv » » Sıfır 2.el Otomo
5,982» Doğu Otomotiv » » Sıfır 2.el Otomobil Sitesi &
0» Nevşehirliler Otomotiv » » Sıfır 2.el Otomobil
0» Akkuş Otomotiv » » Sıfır 2.el Otomobil Sitesi
6,052» Hasbal Otomotiv » » Sıfır 2.el Otomobil Sitesi
0» Bardakçı Otomotiv » » Sıfır 2.el Otomobil Sit
5,850» Yalçın Otomotiv » » Sıfır 2.el Otomobil Site
0» Beydağı Otomotiv » » Sıfır 2.el Otomobil Site
0» Yıldız Otomotiv » » Sıfır 2.el Otomobil Sites
6,015» Polat Otomotiv » » Sıfır 2.el Otomobil Sitesi &
0» Altun Oto Galeri » » Sıfır 2.el Otomobil Sitesi
0» Erdem Otomotiv » » Sıfır 2.el Otomobil Sitesi &
6,066» Koyuncu Otomotiv » » Sıfır 2.el Otomobil Sitesi
0» Altıparmak Otomotiv » » Sıfır 2.el Otomobil Si
5,823» Reşitoğulları Otomotiv » » Sıfır 2.el Otomob
0» Melet Otomotiv » » Sıfır 2.el Otomobil Sitesi &
0» Garanti Galeri » » Sıfır 2.el Otomobil Sitesi &
0» Takas Otomotiv » » Sıfır 2.el Otomobil Sitesi &
5,926» Fatih Galeri » » Sıfır 2.el Otomobil Sitesi &ra
0» TECİM OTOMOTİV » » Sıfır 2.el Otomobil Sitesi
6,066» Savaş Otomotiv » » Sıfır 2.el Otomobil Sitesi
6,070» KAMİLOĞLU OTOMOTİV » » Sıfır 2.el Otomobil S

模拟搜索引擎蜘蛛抓取

Title: » 便便代码人生
Description:bianbian coding life
Keywords:bianbian,便便,blog,Technology
Body:
raquo; 便便代码人生
便便代码人生
关注技术, 偶尔动动手
博客 Blog
归档 Archiver
文档 Document
代码 Code
外包 Outsourcing
便便 bianbian
bianbian.org
[原] 在协同决策系统内实现基于Flex+ArcGIS的航班天气展示
Posted by bianbian on 2010-12-02 09:13
本文Tags: CDM, flex
最近在忙这个,呵呵。请无视报文和机场位置,那些暂时都是编的。
明天试试集成真实数据:
标签: CDM, flex遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[原] Flex的全屏模式 (0)
Posted in Technology | No Comments #187;
script
[原] 一种将数据表DataTable转为JSON格式的新方法
Posted by bianbian on 2010-09-23 15:17
本文Tags: C#, DataTable, JSON
最近实现一种将数据表转为JSON表示的新方法。
这种方法表示的JSON数据更省空间(尤其是网络传输,能省很多数据量),使用起来也很方便。
假设有这样一张数据表:
ID
Name
Location
1
周杰伦
香港
2
侯佩岑
台湾
3
张靓颖
大陆
一般的JSON表示方法为:
[
{ quot;ID quot;:1, quot;Name quot;: quot;周杰伦 quot;, quot;Location quot;: quot;香港 quot;},
{ quot;ID quot;:2, quot;Name quot;: quot;侯佩岑 quot;, quot;Location quot;: quot;台湾 quot;},
{ quot;ID quot;:3, quot;Name quot;: quot;张靓颖 quot;, quot;Location quot;: quot;大陆 quot;}
]
可以看到,数据表的字段信息(column)在每条记录里都写了一遍,比较浪费空间。如果字段很多很长,甚至会比有效内容更多。随着记录数增加,浪费的数据量是很可观的。尤其像以前小百合BBS自己付流量费的时候,流量啊流量。。。。。。
我实现的表示方法产生的JSON格式是这样的:
{
quot;C quot;:{ quot;ID quot;:0, quot;Name quot;:1, quot;Location quot;:2},
quot;D quot;:[
[1, quot;周杰伦 quot;, quot;香港 quot;],
[2, quot;侯佩岑 quot;, quot;台湾 quot;],
[3, quot;张靓颖 quot;, quot;大陆 quot;]
]}
这种方法将字段信息单独提取到C属性里,而D属性是纯粹的记录数据。
其实D属性本身已经完全能表示记录内容,C属性只是为了使用时方便。
在这短短几个字段及几条数据的极端情况下,已经省下几十字节。
下面对比使用方法,我承认这种方法稍微比通用的方法复杂一点,但是带来的节省,个人认为还是值得的:
通用方法取周杰伦:[0].Name
我的方法取周杰伦:D[0][C.Name]
下面是上述DataTable转JSON的C#代码:
using System;
using System.Text;
using System.Web.Script.Serialization;
/// lt;summary gt;
/// 一种JSON表示DataTable的新方法
/// lt;see href= quot;http://bianbian.org/technology/javascript/361.html quot; / gt;
/// lt;/summary gt;
public static class JsonUtil
{
static JavaScriptSerializer _jss = new JavaScriptSerializer();
/// lt;summary gt;
/// DataTable 转换成 JSON string。
/// lt;/summary gt;
/// lt;param name= quot;dt quot; gt;需要转换的DataTable lt;/param gt;
/// lt;returns gt;JSON结构字符串 lt;/returns gt;
public static string FromDataTable(System.Data.DataTable dt)
{
StringBuilder sb = new StringBuilder(256);
FormDataTable(dt, sb);
return sb.ToString();
}
/// lt;summary gt;
/// DataTable 转换成 JSON string。
/// lt;/summary gt;
/// lt;param name= quot;dt quot; gt;需要转换的DataTable lt;/param gt;
/// lt;param name= quot;sb quot; gt;StringBuilder lt;/param gt;
public static void FormDataTable(System.Data.DataTable dt, StringBuilder sb)
{
sb.Append( quot;{C:{ quot;);
// - gt; { quot;ID quot;:0, quot;Name quot;:1}
for (int j = 0; j lt; dt.Columns.Count; j++)
{
if (j gt; 0)
sb.Append(',');
sb.Append(' quot;').Append(dt.Columns[j].ColumnName).Append(' quot;')
.Append(':').Append(j);
}
sb.Append( quot;},D:[ quot;);
for (int i = 0; i lt; dt.Rows.Count; i++)
{
if (i gt; 0)
sb.Append(',');
sb.Append('[');
for (int j = 0; j lt; dt.Columns.Count; j++)
{
if (j gt; 0)
sb.Append(',');
_jss.Serialize(dt.Rows[i][j], sb);
}
sb.Append(']');
}
sb.Append( quot;]} quot;);
}
}
标签: C#, DataTable, JSON遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[译]JSON的C语言实现: JSON-C #8211; A JSON implementation in C (2)
[原]一种blog日历的JSON压缩输出算法 (1)
[原]Linux下的c/c++ GDB调试 (1)
[原]C#里更改控件的显示Z顺序 (2)
Posted in C#, JavaScript, Technology | 3 Comments #187;
script
[原] jquery-easyui的combotree在.net开发中的问题
Posted by bianbian on 2010-08-29 12:07
本文Tags: combotree, easyui, post
最近使用jquery-easyui,遇到一个问题。
一搜索,发现好多人在问:
问题见:http://jquery-easyui.wikidot.com/forum/t-248817/combotree-net
“combotree在.net开发中,一直不显示数据。
单独html页面就可以显示出来。同一数据文件,json格式绝对正确。”
解决问题首先要发现原因,用firebug试了一下,发现是combotree读取json的时候是用POST方法。
而.net环境不支持静态文件用POST方法获取内容。错误如下:
POST app_user.js
http://localhost:9655/js/app_user.js
405 Method Not Allowed
发现原因后,解决问题就简单很多。
找到easyui的js代码:
_41.addClass( #8220;tree-loading #8221;);
$.ajax({type: #8221;post #8221;,url:_3e.url,data:_3c,dataType: #8221;json #8221;,success:function(_42){
_41.removeClass( #8220;tree-loading #8221;);
在我的应用中,因为不需要POST方式获取json,就把type: #8221;post #8221;改为type: #8221;get #8221;即可。
已在easyui的官方论坛中说明这个问题,希望以后能多个method的设置选项。
标签: combotree, easyui, post遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
无相关日志.
Posted in JavaScript, Technology | 2 Comments #187;
script
[晕] 中wmdrtc32.dll木马了(Sality virus)
Posted by bianbian on 2010-05-11 18:52
本文Tags: 木马
晕,话说我这个只上少数几个网站的人也会中木马。。。。
这个wmdrtc32.dll可不是一般的木马,具有注入、驱动等多种手段
而且更狠的是,无法安全模式启动,一进安全模式就蓝屏。。。
这次中招的居然是从sourceforge.net下的一个项目的执行文件,在这里曝光一下:
http://sourceforge.net/projects/flvconverternet/
360能检测到威胁,但是没办法彻底杀干净。。。
郁闷,还没找到解决办法。。。有谁知道怎么清除告诉我一声,谢了。
我的机器不可能重装,里面eclipse有5个(java、aptana、IDL、Flex、php),visual studio有3个(vc6、2005、2008),Delphi有2个,还有python、ArcGis、oracle、ENVI、。。。
要重装直接杀了我吧。。。
这个网页对这个病毒进行了详细的分析:
http://www.threatexpert.com/report.aspx?md5=8f0020f81ab2be1e9136ce831fbc525f
最后补充:无奈下装了360杀毒软件。。。
这个无良的Sality,居然把硬盘的exe全感染了。。。一点毒品都没有!!!
标签: 木马遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[原]杀了个816.exe木马 (1)
Posted in Technology | 1 Comment #187;
script
[原] Flex的全屏模式
Posted by bianbian on 2010-05-08 17:09
本文Tags: allowfullscreen, flex, 全屏
除了这篇文章里提到的需要传入参数 allowFullScreen=true 以外:
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html
经我的血泪测试(啊啊啊,我的时光啊),以下这条语句似乎必须点击操作触发才有效:
stage.displayState = StageDisplayState.FULL_SCREEN;
也就是说,用Timer之类调用这条语句都无法全屏,错误号是#2152 Full screen mode is not allowed.
应该是flash故意禁止这么做,不然一载入就全屏算是个安全问题。
郁闷的是,我准备做的这个东西就是要一载入就全屏。。。。
啊啊啊啊,怎么办?弄个巨大的按钮?点击以后全屏、隐藏按钮?
太邪恶了。。。。啊啊啊啊。。。。
标签: allowfullscreen, flex, 全屏遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[原] 在协同决策系统内实现基于Flex+ArcGIS的航班天气展示 (0)
Posted in Other, Technology | No Comments #187;
script
[哈] 便便嘘嘘红双喜
Posted by bianbian on 2010-04-22 19:00
本文Tags: SCI, 执照
今天真是好日子。。。。。。。
一喜呢
便便嘘嘘经过超十年甜蜜长跑
转战长三角、珠三角四个城市
今天终于执证上岗
虽然喜糖早早就发过啦
不过这里没有鼓楼大妈的拍照环境
只好帖个执照合影了
二喜呢
SCI终于accept啦
看看过程,真是好不容易呢
眼泪哗哗地
Manuscript ID:AAS20090056
Submitting Date:2009-3-8
Conclusion,Date of return for revision,Date of revision:
major revision required before peer review,2009-6-29,2009-9-9
returned for revision upon submission,2009-9-10,2009-9-21
major revision,2009-11-3,2010-3-18
manuscript accepted for publication,2010-4-22
感谢所有朋友一直以来对我们的祝福和帮助~
标签: SCI, 执照遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
无相关日志.
Posted in bianbian amp; xuxu | 3 Comments #187;
script
[原] COM调用PowerPoint后PowerPNT.exe进程仍驻留内存的问题
Posted by bianbian on 2010-04-16 00:42
本文Tags: C#, COM, CreateObject, PowerPoint, 进程
前阵子一直纳闷一件事,不是写了个早上10点自动生成天气会商ppt的程序嘛,不过时好时坏。具体的说:我去维护了一下后第二天是正常的,但是第三天就又不行了。看cron的日志(顺便推荐一下nnCron Lite),程序都正常启动了,但是ppt就是没有正常生成。
像我现在写的代码一般都不会有问题了,很少需要debug;看了几遍也没问题,所以很纳闷呀很纳闷。
后来没办法,开始在程序里输出log,才发现cron运行的时候(用户是SYSTEM),第二次运行:
using PPT = Microsoft.Office.Interop.PowerPoint;
_App = new PPT.Application();
这里会报COMException,真是奇怪了。
而调试的时候又是一切正常(用户是Administrator)。
最后总算捕捉到问题出现的情形:
cron运行,第一次正常产生ppt后,进程里仍驻留了PowerPNT.exe这个程序。
尽管程序是写了:
_App.Quit();
_App = null;
但是进程不会退出。不退出就算了,关键在SYSTEM用户下,第二次再跑程序的时候就会报前面提到的COMException,似乎一Quit(),这个PowerPNT.exe就挂在那里了。而在有用户界面的Administrator用户下,即使上一次进程没退出,也是可以正常工作的。
试了两种办法,可以使功能正常:
1)暴力一点,用完直接把进程kill掉:
Process ps = Process.GetProcessesByName( #8220;POWERPNT.EXE #8221;)[0];
ps.Kill();
2)最后不写 _App.Quit() ,让进程在内存里驻留。
最后还是选了2),毕竟服务器内存有10G,一个PPT进程也就20多M,而且PPT进程一个用户只有一个,相当于preload了,呵呵。。。
回家后找了一下文章,这个确实是Microsoft的问题。希望这篇文章对遇到这个问题的朋友有用。
如下是相关地址:
PPT2000: PowerPoint 2000 Remains in Memory After Getting a Presentation and Being Closed
powerpnt.exe remains running after OLE Quit()
GetObject and CreateObject behavior of Office automation servers
标签: C#, COM, CreateObject, PowerPoint, 进程遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[原] 一种将数据表DataTable转为JSON格式的新方法 (3)
[原]C#里更改控件的显示Z顺序 (2)
[原] C# 3.0的委托(delegate)及Lambda表达式应用实例 (0)
[原] C#泛型实现流中C/C++格式的struct数据的通用读取方法 (2)
Posted in C#, Meteorology | No Comments #187;
script
[原] 珠三角航空气象工作小组第二次会议
Posted by bianbian on 2010-03-18 00:45
本文Tags: 气象, 珠海
珠三角航空气象工作小组第二次会议在珠海召开,期待未来珠三角更多的合作。
PS. 珠海真是适合生活的好地方。
标签: 气象, 珠海遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[转] 民航气象区域预警预报 (0)
[转] 深圳空管站与深圳气象局将实现气象信息共享 (0)
Posted in Meteorology | No Comments #187;
script
[原] 自动生成天气会商PPT了
Posted by bianbian on 2010-02-21 17:03
本文Tags: PPT, 天气会商
每天的例行天气会商PPT,现在由程序自动采集数据、图片,通过PowerPoint的COM功能,来自动化生成了。
标签: PPT, 天气会商遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
无相关日志.
Posted in Meteorology | No Comments #187;
script
[原] 向香港天文台好好学习
Posted by bianbian on 2010-02-08 22:21
本文Tags: HKO, 香港天文台
好久没有写blog,快过年了记个小结,2009这一年最大感受是向香港天文台好好学习。
http://www.hko.gov.hk/hkonews/A2/news-CAAC_uc.htm
标签: HKO, 香港天文台遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
无相关日志.
Posted in Meteorology | 1 Comment #187;
script
[荐] 推荐RSL(Radar Software Library,雷达软件库)
Posted by bianbian on 2009-09-30 20:36
本文Tags: RSL, 格式, 雷达
各种雷达不同的格式害死人啊害死人,这个库就是为统一读取各种格式而生的。
可以在这个基础上方便地加入其它格式的支持,我现在加入了深圳机场ADWR多普勒雷达的格式。
当然,它本身已经自带了很多格式:
HDF 1B-51 and 1C-51、Lassen (Darwin)、WSR-88d (Nexrad)、UF (Universal Format from NCAR)、SIGMET (Version 1)、SIGMET (Version 2)、McGill、TOGA、RAPIC (Berrimah)、RADTEC (SPANDAR)、EDGE #8230;
The best feature of RSL is the ability to ingest many different RADAR data file formats with a single
library call. It can, also, read compressed files #8212; compressed with GZIP or the older COMPRESS.
The routine is called RSL_anyformat_to_radar. You give it a filename and it will return a pointer to
a C structure called Radar. The structure Radar contains all the information found in the input file.
The structure is intended to represent a superset of all RADAR data formats.
RSL
标签: RSL, 格式, 雷达遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[原] IDL的格式化字符串太让人faint了 (1)
Posted in Meteorology, Not IT | No Comments #187;
script
[原] 基于jQuery的自动TAB选项卡实现
Posted by bianbian on 2009-07-24 01:03
本文Tags: jQuery, TAB, 选项卡
jQuery挺好用,我就不说啥了。
今天实现了“自动TAB”,下面分享一下。有人会问为啥不用jquery-ui,主要是页面css已经全弄好了,实在不想为ui再写一次;其次是ui毕竟是那么大个家伙,心疼我的性能。
HTML页面非常简单:
lt;div class= quot;tabBox quot; gt;
lt;!--选项卡菜单-- gt;
lt;ul class= quot;tabMenu quot; gt;
lt;li class= quot;on quot; gt; lt;a gt;选项卡1 lt;/a gt; lt;/li gt;
lt;li gt; lt;a gt;选项卡2 lt;/a gt; lt;/li gt;
lt;/ul gt;
lt;!-- 选项卡内容-- gt;
lt;div class= quot;hide quot; gt;
选项卡1内容
lt;/div gt;
lt;div class= quot;hide quot; gt;
选项卡2内容
lt;/div gt;
lt;/div gt;
之后就是用jQuery自动对这个.tabBox进行处理,加上鼠标点击自动切换的功能(当然可以加上鼠标移过的选项支持,作为示例,我就没写那么完善):
$(function () {
//===== TAB自动切换 tabBox =====
// lt;div class= quot;tabBox quot; gt;
// lt;ul class= quot;tabMenu quot; gt; lt;li class= quot;on quot; gt; lt;a gt;选项卡1 lt;/a gt; lt;/li gt; lt;/ul gt;
// lt;div class= quot;hide quot; gt;内容1 lt;/div gt;
// lt;/div gt;
// (1) li增加 quot;index quot;记录偏移量(第i项),给a增加click方法
$('.tabBox .tabMenu li').each(function(i, li) {
li = $(li);
li.attr('index', i)
.children('a').attr('href', 'javascript:;').click(function() {
//点击项的li的class设为on
var li_on = $(this).parent(),
index = li_on.attr('index');
li_on.parent().children().removeClass('on');
li_on.addClass('on');
//显示对应的div内容。注意get(index)返回的是DOM节点,因此需要再$()转为jQuery对象
$(
li_on.parent().parent().children('div').addClass('hide').get(index)
).removeClass('hide');
});
//显示现有的li class=on对应的div内容
if (li.hasClass('on')) {
li.children('a').click();
}
});
});
标签: jQuery, TAB, 选项卡遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
无相关日志.
Posted in JavaScript, Technology | No Comments #187;
script
[嗯] 5.10订婚
Posted by bianbian on 2009-05-02 17:19
本文Tags: 订婚
按老家习俗,似乎是要订婚的
可惜我和嘘嘘都不热衷,汗
辛苦小时候就和我最亲的阿姨了,汗
择日子,定佳期
两家长辈嘘来问去,就定到5.10了
当然是按农历4.16定的,不过阳历谐音也是还可以
“我要你”,虽然肉麻,也是蛮符合 订 的意思的嘛
高一走到现在,快十一年了
两个小屁孩要成家了,真是不容易呀
幸好我们两个都不贪心
尽管沿途有好多风景
只紧紧拽着彼此的手心
祝福我们吧
也祝大家幸福开心
标签: 订婚遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
无相关日志.
Posted in Not IT, bianbian amp; xuxu | 7 Comments #187;
script
[原] Thinkpad T400在Windows XP下装蓝牙的办法
Posted by bianbian on 2009-05-01 02:50
本文Tags: T400, 蓝牙, 驱动
我的驱动都是手装的,只安装了必要的驱动(Think的那一大陀软件只安装了硬盘防震动的),发现XP下无法识别T400的蓝牙设备。
症状:Fn+F5没反应,bluetooth的指示灯不亮(机器左下角的硬件已经拨到启动无线、主板BIOS也已经Enable蓝牙)。
安装了蓝牙软件后一直提示“未找到buletooth设备”。
后来经过不断尝试,写出解决办法:
安装HOTKEY(鄙视Thinkpad啊。。。。非要多装个垃圾。。。。)。
找到HOTKEY的安装目录,手动运行TpFnF5.exe(其实就是按Fn+F5组合键后启动的程序,不知道为什么我全手动
装的驱动为什么不支持Fn+F5的监听)。
一运行,就提示找到新硬件,然后就可以安装Windows XP的蓝牙补充驱动和软件了,这时就可以看出蓝牙设备原来是个USB。
装完后,不能卸载HOTKEY,否则声音控制的那几个键不能用了,卸载程序太暴力。
只好在注册表里禁止开机运行。
记在这里,搜索过来确实有用的朋友请吱一声。
标签: T400, 蓝牙, 驱动遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[转] T400 XP系统安装步骤 (0)
Posted in Technology, Windows | 3 Comments #187;
script
[原] Paragon Partition Manager真是太牛了
Posted by bianbian on 2009-04-06 17:31
本文Tags: DOS, SATA, 分区
作为DOS下的分区工具,Paragon Partition Manager实在是太牛了!
上次装系统已经感慨过一次了:DOS下能直接对AHCI模式(高级主控接口)下的SATA硬盘进行操作,要知道这个模式Windows XP都没办法!
今天因为想格式化Temp分区(5G,用来放pagefile、asp.net的编译结果等;系统的Temp和IE的Temp我是放在内存盘里的,哇咔咔,内存一定要大),又进了一次这个软件。结果发现,它居然把插在USB上面的512G的移动硬盘也识别出来了。。。
太牛了,微软赶快把它收购吧。。。
标签: DOS, SATA, 分区遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
相关日志
[转] T400 XP系统安装步骤 (0)
[哎]WD800JD的SATA 80G无法被VIA8237识别 (1)
Posted in Technology, Windows | 1 Comment #187;
script
Page 1 of 141234567891011121314 raquo;
input
input
inputGoogle
input本站
input
input
input
input
input
input
input
December 2010
S
M
T
W
T
F
S
laquo; Sep
1234
567891011
12131415161718
19202122232425
262728293031
li
Categories
Not IT
bianbian amp; xuxu
Entertainment
Meteorology
Technology
AutoIt3
C#
C/C++
Database
Delphi
ENVI amp; IDL
Java
JavaScript
Linux
Other
php
Symbian
WinCE
Windows
Uncategorized
Tag Cloud
CCProxy
征途
Intel
icc
空管站
出差
pipe
internal
Hibernate
Trigraph
工具
vpopmail
IAP
libXp
密码
ENVI
邮政
Tp-Link
Indy
运算符
X11
fwrite
调试
断点续传
管道
拨号
四川
生日
日历
Nokia
maildrop
跨域
bianbian
GDB
仙剑
饮水机
PAL
无线
SpamAssassin
重定向
blog
iframe
帝国时代
smtpd
lilo
Archives
选择月份
December 2010
September 2010
August 2010
May 2010
April 2010
March 2010
February 2010
September 2009
July 2009
May 2009
April 2009
March 2009
February 2009
November 2008
October 2008
September 2008
August 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
Comments
Subscribe
Meta
Log in
Friends
beibei
Sunshow.Net
yaoge123
我以前的blog
LilyStudio
danielfeng
FMiaoZ
frank05
FujiSyusuke
GoodTiger
Marshall
pengjetty
Pierric
plioild
Rufev
thebeatles
WilliamGates
小百合工作室博客聚合
Links
CuteFool.Net
百变贝贝
除非特别注明,本blog均为原创文章;遵守创作共用协议,转载请以链接形式注明出处,谢谢合作
便便代码人生 is powered by WordPress |

数据更新时间

正在更新   

常用工具

桌面软件: MyIP网站信息状态条  WebShot网页快照  SiteMapMaker网站地图生成 
网站信息: Alexa排名查询  PageRank查询/真假PR鉴别/PR劫持检测  外链检查  搜索引擎收录  搜索引擎反向链接  域名注册查询 
网页编辑: 颜色代码选择器  Html特殊符号 
网站调试: 蜘蛛抓取模拟  网站Header信息  网页源代码查看 
代码转换: 火星文查询  繁体/简体转换  Html/js代码转换  Html/UBB代码转换 
友情连接: CodeForge免费源码 PCFans IT资讯 Ngnix Lighttpd GPhone中国    更多... (PR<5自动转内页)
网站地图: 1 2 3 4 5 6 7 8 9 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 250 300 350 400 450 500
免责声明 | 联系我们 | 交换友情链接 | 广告位招商QQ: 717-726-77
© 2009 MyIP.cn Dev by MYIP Elapsed:237.322ms 黑ICP备09072263号