文章分类 -  常用特效

摘要:一、move.js 使用方法: startMove(oDiv1,{left:-200},function(){ startMove(oDiv2,{top:0}); }); 运动裤实例: move.js库完整代码: 阅读全文
posted @ 2016-03-28 09:46 Shimily 阅读(1252) 评论(0) 推荐(0)
摘要:http://www.my97.net/dp/demo/ 日期插件 演示地址:http://www.my97.net/dp/demo/resource/2.1.asp 选择日期:(周末高亮) 选... 阅读全文
posted @ 2015-05-26 17:11 Shimily 阅读(249) 评论(0) 推荐(0)
摘要:>>日一二三四五六12345678910111213141516171819202122232425262728293031公告欢迎访问胶南信息网手机用wap.jiaonan.tv访问我的专题(分类)首页C#技术sqlweb设计杂谈电子相册留言板最新日志ASP.NET Cache缓存详解selec... 阅读全文
posted @ 2015-05-15 14:07 Shimily 阅读(181) 评论(0) 推荐(0)
摘要:方案一:银贤.imgs img{ width:100%; display:block; max-width:100%; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent;}方案二:... 阅读全文
posted @ 2015-04-29 10:13 Shimily 阅读(628) 评论(0) 推荐(0)
摘要:http://touch.code.baidu.com/ http://touch.code.baidu.com/examples.html 下载:http://touch.code.baidu.com/touch-0.2.14.min.js 说明文档:http://cloudajs.org/doc 阅读全文
posted @ 2015-04-28 21:29 Shimily 阅读(596) 评论(0) 推荐(0)
摘要:案例测试:function TouchLeft(){ var startX, startY, moveEndX, moveEndY, X, Y; $(".howPlay,.xqing").on("touchstart", function(e) { // e.preventD... 阅读全文
posted @ 2015-04-28 18:16 Shimily 阅读(7145) 评论(0) 推荐(1)
摘要:input[type='radio'].taocan{display: none; background: none; border: none; opacity:0; display:inline-block;}label.labtaocan{ margin-top: 1%; padd... 阅读全文
posted @ 2015-04-22 14:34 Shimily 阅读(1564) 评论(0) 推荐(0)
摘要:第一:lazyLoad简介及作用:网站性能优化的插件,提高用户体验。页面如果有很多图片的时候,当你滚动到相应的行时,当前行的图片才即时加载的,这样子的话页面在打开只加可视区域的图片,而其它隐藏的图片则不加载。第二:使用场合 涉及到图片,falsh资源,iframe,网页编辑器(CK),JS文件 等占... 阅读全文
posted @ 2015-04-22 10:13 Shimily 阅读(294) 评论(0) 推荐(0)
摘要:通常我们在做gif图片的时候,会需要背景透明。但是一旦背景透明的时候,会出现白边问题。解决方案:先给gif图片设置相应(根据要放的位置的图片)的背景颜色,在存储gif的时候,再把背景设为透明,此时虽然还有有锯齿边边,但是不是白色,会是相应的颜色,这样可以防止白色边出现,会与背景图相呼应,不会特别明显... 阅读全文
posted @ 2015-04-17 17:20 Shimily 阅读(7473) 评论(0) 推荐(0)
摘要:第一种:精确到秒的javascript倒计时代码 HTML代码: <form name="form1"> <div align="center" align="center"> <center>离2010年还有:<br> <input type="textarea" name="left" size 阅读全文
posted @ 2015-04-09 17:52 Shimily 阅读(298) 评论(0) 推荐(0)
摘要:base.css 设置各种默认值:html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, cod... 阅读全文
posted @ 2015-04-08 12:57 Shimily 阅读(181) 评论(0) 推荐(0)
摘要:.blur { filter: url(blur.svg#blur); /* FireFox, Chrome, Opera */ -webkit-filter: blur(4px); /* Chrome, Opera */ -moz-filter: blur(4px)... 阅读全文
posted @ 2015-03-24 11:47 Shimily 阅读(415) 评论(0) 推荐(0)
摘要:更换单选按钮显示样式 我要保密 我是帅哥 我是美女 我要保密 我是帅哥 我是美女 更换单选按钮显示样式 我要保密 我是... 阅读全文
posted @ 2015-03-20 20:50 Shimily 阅读(1038) 评论(0) 推荐(0)
摘要:jquery插件基本格式:/*** @authors shimily (shimilywell@126.com)* @date 2015-03-05 15:30:51* @version */;(function($){ /** *tab切换 */ $.fn.dem... 阅读全文
posted @ 2015-03-17 21:30 Shimily 阅读(196) 评论(0) 推荐(0)
摘要:方法一:给img所在的div进行设置: display:table-cell; text-align:center; vertical-align:middle;然后给图片本身设置:vertical-align:middle;相对文字居中 Document 你好啊你好啊显... 阅读全文
posted @ 2015-03-05 16:30 Shimily 阅读(1127) 评论(0) 推荐(0)
摘要:*************************************************************第一种方法:(可以计算加载图片的数量)css样式:/*图片预加载*/.ImgLoading{ position:absolute; width:100%; height:100%... 阅读全文
posted @ 2015-01-13 09:42 Shimily 阅读(370) 评论(0) 推荐(0)
摘要:ScrollMagic ScrollMagic 是一款jQuery插件,它让你可以像使用进度条一样使用滚动条。如果你想在特定的滚动位置开始一个动画,并且让动画同步滚动条的动作,或者把元素粘在一个特定的滚动位置,那么这款插件正是你需要的。在线演示 立即下载https://github.com/ja... 阅读全文
posted @ 2014-12-21 23:37 Shimily 阅读(917) 评论(0) 推荐(0)
摘要:http://leaverou.github.io/animatable/http://www.cnblogs.com/shimily/articles/4063226.htmlhttp://daneden.github.io/animate.css/https://github.com/daned... 阅读全文
posted @ 2014-12-12 11:19 Shimily 阅读(315) 评论(0) 推荐(0)
摘要:处理Touch事件能让你跟踪用户的每一根手指的位置。你可以绑定以下四种Touch事件:1234 touchstart://手指放到屏幕上的时候触发 touchmove://手指在屏幕上移动的时候触发 touchend://手指从屏幕上拿起的时候触发 touchcancel://系统取消touch事件... 阅读全文
posted @ 2014-12-04 11:09 Shimily 阅读(426) 评论(0) 推荐(0)
摘要:/* animation */.a-bounce,.a-flip,.a-flash,.a-shake,.a-swing,.a-wobble,.a-ring{-webkit-animation:1s ease;-moz-animation:1s ease;-ms-animation:1s ease;a... 阅读全文
posted @ 2014-10-30 17:18 Shimily 阅读(4110) 评论(0) 推荐(0)