Sha256: 941279d6bc49bf0e65cfb0cb521ab79abca00fb2fbc8489b8162e8e7f5aa11fe

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

function install(){
	/*
<div id='blackout' class='ncolor'></div><div class='loading'><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div></div>
	*/
	if ($('#blackout').length==0){
		$("body").prepend("<div id='blackout' class='ncolor'></div><div class='loading'><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div><div class='ball ncolor'></div></div>");
	}
}


$( document ).ready(function() {
    install();
});

function loff(){
    $("#blackout").addClass('ncolor');
    setTimeout(function(){
      $("#blackout").hide();
      $(".ball").hide();
    },250);
    $(".ball").addClass('ncolor')
    
}
function lon(){
    $("#blackout").show(10);
    $("#blackout").removeClass('ncolor')
    $(".loading").show(10);
    $(".ball").show(10);
    $(".ball").removeClass('ncolor')
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rloading-0.0.2 vendor/assets/javascripts/rloading/rloading.js