摘要: .pic-txt{background: rgba(0,0,0,0.5); filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=#80000000, endColorstr=#80000000);} /*rgba第三个参数 透明度 startColorstr 前两位透明度 , RR 指定红色值, GG 指定绿色值, BB 指定蓝色值*/:root .pic-txt { filter:progid:DXImageTransform.Microsoft.Gradient(Gradient.. 阅读全文
posted @ 2013-09-16 14:56 zhs5 阅读(404) 评论(0) 推荐(0) 编辑
摘要: CSS代码.to_top a,.to_top a:hover{ background:url(../images/gotop1_03.gif) no-repeat;}.to_top a{ background-position:0 0;float:left;height:83px;overflow:hidden;width:25px;position:fixed;bottom:35px;cursor:pointer;right:20px; _position:absolute; _right:auto; _left:expression(eval(document.do... 阅读全文
posted @ 2013-09-04 11:47 zhs5 阅读(439) 评论(1) 推荐(0) 编辑
摘要: <script>$(document).ready(function(){ var _width = ($(window).width() - 1003) / 2; var isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest; var obj = $('.list').get(0); $(window).scroll(function(){ if((document.documentElement.scrollTop +documen 阅读全文
posted @ 2013-06-21 09:50 zhs5 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 1、用插件switchTab$("#switchBox7").switchTab({defaultIndex: "1", titCell: "dt span", mainCell: "dd", interTime: 5000});<h3>7,每隔5000毫秒自动切换</h3> <dl class="switchBox" id="switchBox8"> <dt> <span>jquery 特效</span> 阅读全文
posted @ 2013-04-25 22:14 zhs5 阅读(1632) 评论(0) 推荐(0) 编辑
摘要: 网上有利用原来的flash或media插件修改的方法,不过为了不影响原编辑器的使用或升级,还是采用新增一个flvplayer插件的办法1、在plugin下建立文件夹flvplayer, 建立flvplaery.js文件 源码如下/******************************************************************************** KindEditor - WYSIWYG HTML Editor for Internet* Copyright (C) 2006-2011 kindsoft.net** @author Roddy < 阅读全文
posted @ 2013-02-06 12:39 zhs5 阅读(3381) 评论(4) 推荐(0) 编辑
摘要: JS幻灯插件太强大: myFocus http://cosmissy.com/myfocus/demo.html滚动之类:MSClass http://www.popub.net/script/MSClass.html jcarouseljquery弹窗: easydialog lhgdialogTAB切换:jquery.tools.IE6 背景透明 iepng.js DD_belatedPNG_0.0.8a-min.js 阅读全文
posted @ 2013-01-16 19:12 zhs5 阅读(254) 评论(0) 推荐(0) 编辑
摘要: use 数据库declare @tname varchar(8000)set @tname=''select @tname=@tname + Name + ',' from sysobjects wherextype='U'select @tname='drop table '+ left(@tname,len(@tname)-1)exec(@tname)删除所有的存储过程同理可得,只需将代码的where xtype='U' 改成 where xtype='P',drop table 改成 drop 阅读全文
posted @ 2012-12-29 14:17 zhs5 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 用于gb2312下接收新浪api 的json数据utf-8转gb2312' UTF-8字符转换成GB2312 Function UTF2GB(UTFStr)For Dig=1 to len(UTFStr)if mid(UTFStr,Dig,1)="%" thenif len(UTFStr) >= Dig+8 thenGBStr=GBStr & ConvChinese(mid(UTFStr,Dig,9))Dig=Dig+8elseGBStr=GBStr & mid(UTFStr,Dig,1)end ifelseGBStr=GBStr & 阅读全文
posted @ 2012-12-26 10:48 zhs5 阅读(343) 评论(0) 推荐(0) 编辑
摘要: word 单勾勾 在特殊字符里面可以找到,但“口”字里打勾勾 ,只有选Wingdings字体 才能找到当然也可以用带圈字符实现,就是看着大些,最后是开发工具栏里面用checkbox控件之类的,还能实现点击 取消或选中 阅读全文
posted @ 2012-09-21 09:56 zhs5 阅读(213) 评论(0) 推荐(0) 编辑
摘要: function scrollDoor(){}scrollDoor.prototype = {sd : function(menus,divs,openClass,closeClass){var _this = this;if(menus.length != divs.length){alert("菜单层数量和内容层数量不一样!");return false;}for(var i = 0 ; i < menus.length ; i++){_this.$(menus[i]).value = i;_this.$(menus[i]).onmouseover = funct 阅读全文
posted @ 2012-09-19 16:05 zhs5 阅读(204) 评论(0) 推荐(0) 编辑