2008年6月23日
摘要: 1filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=bEnabled,sizingMethod=sSize,src=sURL) 属性: enabled : 可选项。布尔值(Boolean)。设置或检索滤镜是否激活。true | false true : 默认值。滤镜激活。 false : 滤镜被禁止。 si... 阅读全文
posted @ 2008-06-23 11:44 kilobug 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1filter: alpha(opacity=50); 2-moz-opacity:0.5; 3opacity: 0.5; 阅读全文
posted @ 2008-06-23 11:06 kilobug 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1String.prototype.trim = function(){ 2 return this.replace(/(^\s*)|(\s*$)/g, ""); 3} 4String.prototype.ltrim = function(){ 5 return this.replace(/(^\s*)/g,""); 6} 7String.prototype.rtrim... 阅读全文
posted @ 2008-06-23 11:03 kilobug 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1document.getElementById("select").options[document.getElementById("select").options.selectedIndex].value 阅读全文
posted @ 2008-06-23 11:01 kilobug 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 想写一个时间戳转换成日期的函数,锻炼下自己的算法,呵呵。 函数代码: 1function timestamp( $year, $month = 1, $day = 1, $hour = 0, $minute = 0, $sec = 0 ) { 2 $tmp = ( $year - 1973 - ( $year -1973 ) % 4 ) / 4 * 126230400 + ($yea... 阅读全文
posted @ 2008-06-23 10:49 kilobug 阅读(1122) 评论(0) 推荐(0) 编辑
摘要: 1#someNode 2{}{ 3 position: fixed; 4 #position: fixed; 5 _position: fixed; 6} 第一个属性给Firefox以及其他浏览器看 第二个属性给IE7(可能以后的IE8、IE9也是如此,谁知道呢)看 第三个属性给IE6以及更老的版本看。 阅读全文
posted @ 2008-06-23 10:43 kilobug 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1function AddItem( objSelectNow, val, txt ) { 2 var objOption = document.createElement("OPTION"); 3 objOption.text = txt; 4 objOption.value = val; 5 objSelectNow.options.add(objOption); 6} 7 ... 阅读全文
posted @ 2008-06-23 10:41 kilobug 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 1 11 12 13 18 阅读全文
posted @ 2008-06-23 10:38 kilobug 阅读(1131) 评论(2) 推荐(0) 编辑
摘要: 修改自codepub.com,修正IE7下javascript报错的问题。 CSS代码为: 1.r1{}{ 2 width:80px;height:80px;background:red;float:right; 3 position:fixed !important; top/**//**/:200px; 4 position:absolute; ... 阅读全文
posted @ 2008-06-23 10:30 kilobug 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 在开始里点 运行 输入services.msc 找到一个叫 FLEXnet Licensing Service 的服务 ,把他打开就行了。 如果没有 FLEXnet Licensing Service 的服务 使用 srvinstw-v1.00h 添加系统盘下的: C:\Program Files\Common Files\Macrovision Shared\FLEXnet Publ... 阅读全文
posted @ 2008-06-23 10:22 kilobug 阅读(2543) 评论(1) 推荐(0) 编辑