支付宝赞助帐号:service@kuitao8.com 

下载地址

jquery翻牌效果免费下载

Created2014-11-21   Views 4095    Author 懒人程序
jquery翻牌效果免费下载
$(function() {
    
    // for performance first init the quickFlip
    $('.quickFlip').quickFlip();
    
    // set up a hover effect for each of the quickflip wrappers
    for ( var i = 0; i < $.quickFlip.wrappers.length; i++ ) {
        var thisOne = $.quickFlip.wrappers[i];

        $( thisOne.wrapper ).hover( function(ev) {
            var $target = $(ev.target);
            // make sure it isn't a child node
            if ( !$target.hasClass('quickFlip') ) $target = $target.parent();
            
            $target.quickFlipper();
            
        }, function() {});
    }
    
/*
    Although the code here is faster, it could be made a lot simpler, since $.quickFlipper() will attach the quickFlip if it doesn't exist.  Replace the above with:

    $('.quickFlip').hover(function(ev) {
        var $target = $(ev.target);
        if ( !$target.hasClass('quickFlip') ) $target = $target.parent();
        
        $target.quickFlipper();
    }, function() {});

*/

});
上一篇: jquery广告幻灯片效果下载
下一篇: jquery幻灯片效果下载
支持键盘 ← →

邮件订阅

订阅我们的精彩内容