基本信息
源码名称:jquery 刮刮卡
源码大小:0.05M
文件格式:.rar
开发语言:js
更新时间:2013-04-06
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

  1. 基于JQuery设计
  2. 平滑的刮刮卡效果
  3. 很好玩、受欢迎
  4. 自定义CSS样式

$(document).ready(function(){
$('#raspadinha').scratchie({
    target : 'target',
        img : 'prize.jpg',
        imgHeight : 200, // target (prize) img height
        imgWidth : 400, // target (prize) img width
        title : 'Try your luck!',
        fillImg : 'overlay.jpg',
        requireMouseClick : true,
        callback: function(){
        alert('Congratulations!');
        }
});

// end of scratchie stuff!


// language switcher
$('#lang_pt').click(function(){
$('.en').fadeOut(function(){
$('.pt').show();
});
});
$('#lang_en').click(function(){
$('.pt').fadeOut(function(){
$('.en').show();
});
});
});


// shameless self-promotion
$(window).load(function(){
setTimeout(function(){
$('#aw').slideDown(320);
}, 1150);
});