轮播图基本每个网站都会有,也有很多的JQuery插件可以用,这里是用JS代码写的。 ...
分类:
Web程序 时间:
2017-01-10 09:00:29
阅读次数:
196
一、动画方式 在HTML5/CSS3时代,实现动画的方式有许多种: 你可以用css3的animation和@keyframes; 可以用css3的transition; 还可以用原始的setTimeout()、setInterval()达到动画效果,以及jQuery中animate方法; 今天我们要 ...
分类:
其他好文 时间:
2017-01-09 23:25:04
阅读次数:
168
1.基础选择器: 2.基本过滤器 $("#run").click(function(){ $("div:not(:animated)").animate({ left: "+=20" }, 1000); }); 3.内容过滤器 4.可见性过滤器 :hidden 匹配所有的不可见元素 注:在1.3.2 ...
分类:
Web程序 时间:
2017-01-05 21:36:02
阅读次数:
262
1.包含 #import "SDImageCache. 2.当前大小 double size = [[SDImageCache sharedImageCache] getSize]/(1024 * 1024.0); 3,删除 ...
分类:
其他好文 时间:
2017-01-03 19:10:03
阅读次数:
136
摘要: 小巧简洁的原生搜索框,漂亮而易用,如果我们的应用没有特殊需求,都可以使用它。 iOS中UISearchBar(搜索框)使用总结 初始化:UISearchBar继承于UIView,我们可以像创建View那样创建searchBar UISearchBar * bar = [[UISearchBa ...
分类:
移动开发 时间:
2017-01-03 13:00:11
阅读次数:
335
* backgroundPosition * borderWidth * borderBottomWidth * borderLeftWidth * borderRightWidth * borderTopWidth * borderSpacing * margin * marginBottom * ...
分类:
Web程序 时间:
2016-12-31 00:18:55
阅读次数:
202
show() hide() toggle() fadeIn() fadeOut() fadeToggle() fadeTo() slideUp() slideDown() slideToggle() animate({paras | left:'250px'},speed,callback) sto ...
分类:
Web程序 时间:
2016-12-29 19:37:17
阅读次数:
163
(document).ready(function() {(document).ready(function() {("div.baba").mouseleave(function() { ("span.aaa").stop().animate({opacity: '1'},600); });("s ...
分类:
Web程序 时间:
2016-12-25 01:38:42
阅读次数:
221
UIPopoverController 在iOS9之后被废弃了,,, iOS8 新控件UIPopoverPresentationController可运用在iphone和iPad上,使用基本同 UIPopoverController - (void)iPadAndIphonePopOver { Me ...
分类:
其他好文 时间:
2016-12-23 22:11:24
阅读次数:
220