


<link rel='stylesheet' href='https://www.astrolantis.de/shop/wp-content/plugins/orakel-custom-plugin/css/buddha.css' type='text/css' media='all' />

<!-- <link rel='stylesheet' href='https://www.astrolantis.de/shop/wp-content/plugins/orakel-custom-plugin/css/style.css' type='text/css' media='all' /> -->
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
<script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script src="https://www.astrolantis.de/shop/wp-content/plugins/orakel-custom-plugin/js/typed.js" type="text/javascript"></script>
<script type="text/javascript" src="https://www.astrolantis.de/shop/wp-content/plugins/orakel-custom-plugin/js/snowJS.js"></script>
<script>
$(function() {
	function runEffect() {
		var options = {};
		$( "#answerdiv" ).effect( "slide", options, 900, callback);
		
		 function callback() {
			setTimeout(function() {
				
				$("#typed").typed({
					strings: [],
					typeSpeed: 100,
					backDelay: 1000,
					loop: false,
					// defaults to false for infinite loop
				});
				
			}, 1000 );
			
			//$( "#button" ).text("");
			
			$("#first_div").hide();
			$("#again_div").show();
		
			//$("#button").attr("href", document.URL)
			//$("#button").attr("id", "btn")
		};
	
		
	};
	
	$( "#button" ).click(function() {
		runEffect();
		return false;
	});
});
function reloadthis()
{
	window.location.href=document.URL;
}
</script>








<div class="cover-div">

<!-- alf: /pages/03/44/d0007706/home/htdocs/public/prod/shop/wp-content/plugins/orakel-custom-plugin/functions/ -->
	<div id="snowBox" style="width: 600px; height: 600px; position:relative" class="coverin">
		<img src="https://www.astrolantis.de/shop/wp-content/plugins/orakel-custom-plugin/images/" />
		<div class="answer-div" id="answerdiv" style="display:none;">
			<p class="ans-title"></p>
			<p class="ans-text"><span id="typed"></span></p>
		</div>
	</div>
	<div class="into-div">
		<p class="intro-text"></p>
		<p id="first_div" class="ans-btn"><a id="button" href="#"></a></p>
		<p id="again_div" style="display:none;" class="ans-btn"><a href="javascript:reloadthis();"></a></p>
	</div>

</div>
<script type="text/javascript">



var flakeChar = 'https://www.astrolantis.de/shop/wp-content/plugins/orakel-custom-plugin/images/blume_dl.png';
var speed = 0.2;var maxFlakes = 8;



var minSize = 10;
var maxSize = 30;

//Standard VARs
snowtop = new Array();
snowleft = new Array();
snowdrift = new Array();
snowsize = new Array();
snowsizechange = new Array();
var curLoop = 0;
var divName = "";
var divWidth = 0;
var divHeight = 0;

//FUNCTIONS
/*
* Make sure the div you are submitting doesn't allow overflow and is fixed size
*/
function random_num(maxNum) {
	var rand = Math.floor(maxNum*Math.random())
    return rand
}

function start_snow(divBox) {
	//Get div information
	divName = divBox;
	var stringDivWidth = document.getElementById(divName).style.width;
	divWidth = stringDivWidth.slice(0, (stringDivWidth.length-2));
	var stringDivHeight = document.getElementById(divName).style.height;
	divHeight = stringDivHeight.slice(0, (stringDivHeight.length-2));
	
	for(var i = 0; i < maxFlakes; i++) {
		snowtop[i] = random_num(divHeight);
		snowleft[i] = random_num(divWidth);
		snowdrift[i] = random_num(2);
		snowsize[i] = (random_num((maxSize - minSize)) + minSize);
		snowsizechange[i] = random_num(5);
		document.getElementById(divName).innerHTML = '<div id="snowflake'+ i +'" style="position: absolute; color: #ffffff; font: Arial; font-size: ' + snowsize[i] + 'px; left: ' + snowleft[i] + 'px; top: ' + snowtop[i] + 'px;"><img class="snowimg" src="' + flakeChar + '" /></div>' + document.getElementById(divName).innerHTML;
	}
	
	snow_fall();
}

function snow_fall() {
	for(var i = 0; i < maxFlakes; i++) {
		//setup id
		snowflakeid = "snowflake" + i;
		//set top location
		snowtop[i] += speed;
		if(snowtop[i] + snowsize[i] > divHeight) {
			snowtop[i] = 0;
			snowleft[i] = random_num(divWidth);
			snowsize[i] = (random_num((maxSize - minSize)) + minSize);
			snowsizechange[i] = random_num(5);
		}
		//set left location for drift
		if(snowdrift[i] == 1) {
			snowleft[i] += speed;
			if(snowleft[i] + snowsize[i] >= divWidth)
				snowdrift[i] = 2;
		} else {
			snowleft[i] -= speed;
			if(snowleft[i] <= 0)
				snowdrift[i] = 1;
		}
		//check size change
		if(snowsizechange[i] == 2) { //getting smaller
			snowsize[i] -= 0.1;
			if(snowsize[i] < 0) {
				snowsize[i] = 0;
			}
		} else if (snowsizechange[i] == 3) { //getting bigger
			snowsize[i] += 0.1;
		}
		
		//update page
		document.getElementById(snowflakeid).style.top = snowtop[i] + "px";
		document.getElementById(snowflakeid).style.left = snowleft[i] + "px";
		document.getElementById(snowflakeid).style.fontSize = snowsize[i] + "px";
	}
	
	//restart fall
	setTimeout("snow_fall()", 10);
}

start_snow("snowBox");
</script>

{"id":53,"date":"2014-04-19T20:39:14","date_gmt":"2014-04-19T18:39:14","guid":{"rendered":"http:\/\/www.astrolantis.de\/shop\/?page_id=53"},"modified":"2017-07-27T15:45:54","modified_gmt":"2017-07-27T13:45:54","slug":"buddha-orakel","status":"publish","type":"page","link":"https:\/\/www.astrolantis.de\/shop\/buddha-orakel\/","title":{"rendered":"Buddha Orakel"},"content":{"rendered":"<div style='border:none;position:relative;'>\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"page-full-width.php","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/www.astrolantis.de\/shop\/wp-json\/wp\/v2\/pages\/53"}],"collection":[{"href":"https:\/\/www.astrolantis.de\/shop\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.astrolantis.de\/shop\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.astrolantis.de\/shop\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.astrolantis.de\/shop\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":11,"href":"https:\/\/www.astrolantis.de\/shop\/wp-json\/wp\/v2\/pages\/53\/revisions"}],"predecessor-version":[{"id":288,"href":"https:\/\/www.astrolantis.de\/shop\/wp-json\/wp\/v2\/pages\/53\/revisions\/288"}],"wp:attachment":[{"href":"https:\/\/www.astrolantis.de\/shop\/wp-json\/wp\/v2\/media?parent=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}