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) 编辑
摘要: CSS: 1#adflcenter {}{ left: 0px; right: 0px; top: 25%; *top: 50%; position: fixed; } 2* html #adflcenter {}{ position: absolute; padding: 0px 10px; top: expression(offsetParent.scrollTop + screen.av... 阅读全文
posted @ 2008-06-23 10:16 kilobug 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 1.textoverflow a {}{ 2 display:block; 3 width:120px; 4 margin: 0px 0px 0px 3px; 5 white-space: nowrap; 6 overflow: hidden; 7 float: left; 8 -o-text-overflow: ellipsis; /**//* for Opera */ ... 阅读全文
posted @ 2008-06-23 10:12 kilobug 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 加入CSS: 1* {}{ filter: gray; } flash则需要设置成透明: 添加参数wmode,值为transparent 阅读全文
posted @ 2008-06-23 10:08 kilobug 阅读(213) 评论(0) 推荐(0) 编辑
摘要: URL隐藏转发的HTML代码: 1您的浏览器不支持iframe,无法访问! 阅读全文
posted @ 2008-06-23 10:07 kilobug 阅读(1066) 评论(0) 推荐(0) 编辑
摘要: 原因是对方系统的组策略中启用了"使用空白密码的本地帐户只允许进行控制台登录"!安全起见建议给帐户加个密码,在其他机子上访问的时候输入用户名和密码即可。如确实不想设置密码又想在其他机子上可以正常访问,按如下方法设置:运行gpedit.msc,依次展开"计算机配置>Windows 设置>安全设置>本地策略>安全选项",将"帐户:使用空白密码的本地帐户只允许进行控制台登录。"一项禁用即可。 kilob... 阅读全文
posted @ 2008-06-23 10:05 kilobug 阅读(2835) 评论(1) 推荐(0) 编辑
摘要: 我觉得CSS中的Behavior属性很好很强大,减轻了前台界面的javascript的复杂性,使其更加的条理性,遗憾的是,只有IE才支持。555555555555 JAVASCRIPT代码: 1 HTC代码: 1 HTML代码: 链接1 链接2 链接3 点链接试试,没有虚线框了吧,如果你用非IE浏览器查看,会失效的。 阅读全文
posted @ 2008-06-23 10:02 kilobug 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 一般国际化的商业网站宽度为:952像素,这是避免工具栏在1024x768分辨率左右侧时,产生横向滚动条 工具栏在上下方并分辨率为1024x768时,网页标准宽度为1003像素 阅读全文
posted @ 2008-06-23 09:57 kilobug 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 火狐实现Flash背景透明,需要在embed标签中,添加属性wmode="Transparent" 而IE则需要在object标签中间,添加 阅读全文
posted @ 2008-06-23 09:55 kilobug 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 接口地址:http://webpresence.qq.com/getonline?Type=1&139292774:564082061:496626914: 139292774:564082061:496626914: 这个参数是多个需要查询的QQ号码,可自由修改,QQ号码后面必须有“;”分号。 可在js中声明一个online数组,然后页面包含网址,最后根据QQ号码的先后顺序调用online... 阅读全文
posted @ 2008-06-23 09:51 kilobug 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 1a {}{ 2 hide-focus: expression( this.hideFocus=true ); 3 outline: none; 4} 阅读全文
posted @ 2008-06-23 09:45 kilobug 阅读(377) 评论(1) 推荐(0) 编辑