这次的源码是我送给我女朋友的,给你们看是你吗的福气呦!觉得好记得回复祝福我们!祝各位情人节快乐!没女票的呢就用这个源码追女朋友吧!
By : 你的老公 -- 等待我爱你一辈子!木马!
(function($) {
$.fn.typewriter = function() {
this.each(function() {
var $ele = $(this), str = $ele.html(), progress = 0;
$ele.html('');
var timer = setInterval(function() {
var current = str.substr(progress, 1);
if (current == '
progress = str.indexOf('>', progress) + 1;
} else {
progress++;
}
$ele.html(str.substring(0, progress) + (progress & 1 ? '_' : ''));
if (progress >= str.length) {
clearInterval(timer);
}
}, 75);
});
return this;
};
})(jQuery);
$.AutomLeafStart({
leafsfolder:"images/",
howmanyimgsare:8,
initialleafs:10,
maxYposition:-5,
multiplyclick:true,
multiplynumber:2,
infinite:true,
fallingsequence:500
});
$.AutomLeafAdd({leafsfolder:"images/",add:8,})
$("#botAgregar").on("click",function(){
$.AutomLeafAdd({leafsfolder:"images/",add:8,})
});
$("#code").typewriter();