function stopDefaultHandler(e) { if (e) { e.cancelBubble = true; e.returnValue = false; if (e.stopPropagation) e.stopPropagation; if (e.preventDefault) e.preventDefault(); } if (window.event && window.event.returnValue) { window.eventReturnValue = false; } } var active_form; function toggle_div(current,next) { if(current != false && current != next) { jQuery('#'+current).removeClass('orange'); jQuery('#'+current).addClass('green'); jQuery('#form-'+current).fadeOut(200); } if(jQuery('#form-'+next).length) { jQuery('#'+next).removeClass('green'); jQuery('#'+next).addClass('orange'); jQuery('#form-'+next).fadeIn(400); setTimeout(function() { jQuery("html, body").animate({ scrollTop: jQuery('#form-'+next).offset().top - 70 }, 600); }, 450); } } jQuery(document).on('click','.form-toggle',function(event) { stopDefaultHandler(event); var this_id = jQuery(this).attr('id'); window.location.hash = this_id; toggle_div(active_form,this_id); active_form = this_id; }); jQuery(window).load(function() { var hash = window.location.hash.replace('#',''); if(hash != false) { toggle_div(active_form,hash); active_form = hash; } });

Mit dem Auto

Zur Routenplanung mit Google Maps

Waldkletterpark Leiwen an der Mosel
Sonnenberg 1
54340 Leiwen