-
_runSlideshow: function() {
var self = this;
$(document).everyTime("7s", "slideshow", function() {
self._nextSlide();
});
},
_pauseSlideshow: function() {
var self = this;
-
if (list[i].style.zIndex == 0) {
if (slideoutElement) {
list[i].style.zIndex = -2;
list[i].className = "";
} else {
switch (targetSection) {
case "sec_aniversary":
{
if (Modernizr.csstransitions) {
$(list[i].children).each(function() {
-
//animate the full-screen project image
$('li[data-id] .wrap').each(
function(index) {
$(this).stop().css({
opacity: 0
}).animate({
padding: 0
}, 50 * index).animate({
opacity: 1
}, 500, 'easeOutCubic');
}
-
var guyStatus = new bg._enjoy.Status();
guyStatus.tracker = utils.getById('status_tracker');
guyStatus.onPointsChange = function(total) {
if (total > 100) total = 100;
this.tracker.innerHTML = total + '%';
animatedBaloon.loadImage(parseInt(total / 6.25));
}
guyStatus.onComplete = function() {
this.milestones = [];
-
onLoaded: function() {
this.loadCount++;
if (this.loadCount == this.MAX_NUM_FILES_TO_LOAD) {
this.isLoaded = true;
bg.init(this.bg);
scrollMaster.init();
$("#container").css("visibility", "visible");