1.基本效果匹配元素从左上角开始变浓变大或缩小到左上角变淡变小①隐藏元素除了可以设置匹配元素的display:none外,可以用以下函数hide(speed,[callback]) 返回值:jQuery 参数-speed:三种预订速度之一的字符串String(slow,normal,fast)或表示...
分类:
Web程序 时间:
2014-07-02 23:51:07
阅读次数:
415
在ios4.0及以后鼓励使用animateWithDuration方法来实现动画效果。当然,以往的begin/commit的方法依然使用,下面详细解释一下animateWithDuration的使用方法。函数原型:+ (void)animateWithDuration:(NSTimeInterval...
分类:
其他好文 时间:
2014-07-02 23:13:17
阅读次数:
263
原文:[DevEpxress]GridControl 显示Gif动画如果没有对进行设置,那么GridControl列中gif在编辑状态下,才能显示动画效果,如果要设置列自动显示动画效果,可以进行如下设置: gridView.OptionsView.AnimationType== GridAnimat...
分类:
其他好文 时间:
2014-07-02 20:20:00
阅读次数:
227
有没有觉得Activity的默认动画太快了或者太难看了。。我原来使用Activity.overridePendingTransition来自定义Activity的进入动画,却发现没法定义退出的动画。结果就发现了强大的Theme和Style,之后还需要好好研究一下。具体是这样子的:在AndroidMa...
分类:
其他好文 时间:
2014-07-02 17:35:36
阅读次数:
153
往往在一个绘图区域会有很多个图形,如果通过右键拖动画布或者通过滚动条来查找,是一件很烦人的事情。下面我就给出解决这个问题的方案。
前提是有一个整个绘图区域的tree或者datagrid,我们需要选择直接要定位的图形cell。
首先我们需要一个mxGraph的全局对象,暂且就定义为ylEditor.ylCanvas吧。
接下来我们要定义一个查找图形cell的方法,只有通过这个方法,才能找到画布...
分类:
其他好文 时间:
2014-07-02 15:26:39
阅读次数:
547
- (void)removeDynamictItemView:(UIView *)view
{
NSMutableArray *itemesToRemove = [NSMutableArray
array];
for (UIView *subview
in view.subviews) {
if ([subview
isKindOfClass:[TB...
分类:
其他好文 时间:
2014-07-02 11:56:34
阅读次数:
174
@interface FirstViewController ()
@property (nonatomic,assign)BOOL isplay;
@end
@implementation FirstViewController
@synthesize isplay;
- (void)viewDidLoad
{
[super
viewDid...
分类:
其他好文 时间:
2014-07-02 10:47:22
阅读次数:
191
@interface RootViewController (){ UIView *view1; UIView *view2; int flag;}@end@implementation RootViewController- (void)viewDidLoad{ [s...
分类:
其他好文 时间:
2014-07-02 10:25:29
阅读次数:
130
-(UIColor*)colorOfPoint:(CGPoint)point{unsignedcharpixel[4]={0};CGColorSpaceRefcolorSpace=CGColorSpaceCreateDeviceRGB();CGContextRefcontext=CGBitmapContextCreate(pixel,1,1,8,4,colorSpace,kCGImageAlphaPremultipliedLast);CGContextTranslateCTM(context,-point.x..
分类:
其他好文 时间:
2014-07-02 06:28:29
阅读次数:
194