L’accueil est proposé aux enfants de 4 à 12 ans et il peut recevoir jusqu’à 48 enfants le midi et le soir.
Notice: Undefined offset: 0 in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 53
Notice: Trying to get property 'Tabs_theme' of non-object in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 53
Notice: Undefined offset: 0 in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 55
Notice: Trying to get property 'Rich_Web_Tabs_T_Ty' of non-object in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 55
Notice: Undefined offset: 0 in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 55
Notice: Trying to get property 'Rich_Web_Tabs_T_Ty' of non-object in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 55
Notice: Undefined offset: 0 in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 64
Notice: Trying to get property 'Rich_Web_Tabs_T_Ty' of non-object in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 64
Notice: Undefined offset: 0 in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 3943
Notice: Trying to get property 'Rich_Web_Tabs_T_Ty' of non-object in /home/romanswiller/www/wp-content/plugins/Tabs-RW/Tabs-Rich-Web-Widget.php on line 3943
(function ( $ ) {
$.fn.turbotabs10 = function(options){
// setting the defaults
var settings10 = $.extend({
mode: 'horizontal',
width: '100%',
animation: 'Scale',
cb_after_animation: function(){},
},options);
if( settings10.deinitialize === 'true' ){
return
}
var tabs10 = this.find('.Rich_Web_Tabs_tt_tabs10');
var container10 = this.find('.Rich_Web_Tabs_tt_container10');
var tab10=this.find('.Rich_Web_Tabs_tt_container10 .Rich_Web_Tabs_tt_tab10');
var tabLength10 = tab10.length;
// console.log(tab10);
var sel10 = this;
var random10 = 'tab10-' + Math.floor( Math.random() * 100 ); // for assigning random class (tobe used for hover effect)
var animation = settings10.animation;
var animationIn = '';
var animationOut = '';
var once10 = 0;
var primWidth10 = []; // create an array that will store the primary widths, before resizing (used in responsive function)
var tabsResponsive10 = false;
var timer10 = 340;
var tabHeights10 = '';
var maxHeight10 = '';
setTimeout(function(){ // delay setting the heigh for small interval, giving it a time to collect right value
calcHeight10();
},150);
if( settings10.mode == 'vertical' ){ // check if mode is set to vertical
sel10.addClass('vertical');
}
// applying the color, background and other options to the actual tab10 this.css({width: settings10.width,});
/*==============================================
ANIMATIONS
================================================*/
function return_animation10(animation){
if( 'Scale' === animation ){
animationIn = 'zoomIn';
animationOut = 'zoomOut';
}
else if( 'FadeUp' === animation ){
animationIn = 'fadeInUp';
animationOut = 'fadeOutDown';
}
else if( 'FadeDown' === animation ){
animationIn = 'fadeInDown';
animationOut = 'fadeOutUp';
}
else if( 'FadeLeft' === animation ){
animationIn = 'fadeInLeft';
animationOut = 'fadeOutLeft';
}
else if( 'FadeRight' === animation ){
animationIn = 'fadeInRight';
animationOut = 'fadeOutRight';
}
else if( 'SlideUp' === animation ){
animationIn = 'slideInUp';
animationOut = 'slideOutUp';
timer10 = 80;
}
else if( 'SlideDown' === animation ){
animationIn = 'slideInDown';
animationOut = 'slideOutDown';
timer10 = 80;
}
else if( 'SlideLeft' === animation ){
animationIn = 'slideInLeft';
animationOut = 'slideOutLeft';
timer10 = 80;
}
else if( 'SlideRight' === animation ){
animationIn = 'slideInRight';
animationOut = 'slideOutRight';
timer10 = 80;
}
else if( 'ScrollDown' === animation ){
animationIn = 'fadeInUp';
animationOut = 'fadeOutUp';
}
else if( 'ScrollUp' === animation ){
animationIn = 'fadeInDown';
animationOut = 'fadeOutDown';
}
else if( 'ScrollRight' === animation ){
animationIn = 'fadeInLeft';
animationOut = 'fadeOutRight';
}
else if( 'ScrollLeft' === animation ){
animationIn = 'fadeInRight';
animationOut = 'fadeOutLeft';
}
else if( 'Bounce' === animation ){
animationIn = 'bounceIn';
animationOut = 'bounceOut';
}
else if( 'BounceLeft' === animation ){
animationIn = 'bounceInLeft';
animationOut = 'bounceOutLeft';
}
else if( 'BounceRight' === animation ){
animationIn = 'bounceInRight';
animationOut = 'bounceOutRight';
}
else if( 'BounceDown' === animation ){
animationIn = 'bounceInDown';
animationOut = 'bounceOutDown';
}
else if( 'BounceUp' === animation ){
animationIn = 'bounceInUp';
animationOut = 'bounceOutUp';
}
else if( 'HorizontalFlip' === animation ){
animationIn = 'flipInX';
animationOut = 'flipOutX';
}
else if( 'VerticalFlip' === animation ){
animationIn = 'flipInY';
animationOut = 'flipOutY';
}
else if( 'RotateDownLeft' === animation ){
animationIn = 'rotateInDownLeft';
animationOut = 'rotateOutDownLeft';
}
else if( 'RotateDownRight' === animation ){
animationIn = 'rotateInDownRight';
animationOut = 'rotateOutDownRight';
}
else if( 'RotateUpLeft' === animation ){
animationIn = 'rotateInUpLeft';
animationOut = 'rotateOutUpLeft';
}
else if( 'RotateUpRight' === animation ){
animationIn = 'rotateInUpRight';
animationOut = 'rotateOutUpRight';
}
else if( 'TopZoom' === animation ){
animationIn = 'zoomInUp';
animationOut = 'zoomOutUp';
}
else if( 'BottomZoom' === animation ){
animationIn = 'zoomInDown';
animationOut = 'zoomOutDown';
}
else if( 'LeftZoom' === animation ){
animationIn = 'zoomInLeft';
animationOut = 'zoomOutLeft';
}
else if( 'RightZoom' === animation ){
animationIn = 'zoomInRight';
animationOut = 'zoomOutRight';
}
}
/*==============================================
Initialize Tabs
===============================================*/
return_animation10(animation);
var $tag10;
function resp10(p){
$tag10 = $(p).parent();
}
resp10;
jQuery(window).resize(function(){
resp10;
})
jQuery(".Rich_Web_Tabs_tt_tabs10>li>span").on('click', function(){
resp10(this);
if( true === tabsResponsive10 ){
if( !$tag10.hasClass("active") ) {
$tag10.addClass('active').find('.Rich_Web_Tabs_tt_tab10').slideDown(400, settings10.cb_after_animation).parent().siblings().removeClass('active').find('.Rich_Web_Tabs_tt_tab10').slideUp();
jQuery('.Rich_Web_Tabs_tt_tab10').each(function(){
jQuery(this).removeClass("active")
})
$tag10.addClass('active').find('.Rich_Web_Tabs_tt_tab10').addClass("active")
} else {
$tag10.removeClass('active').find('.Rich_Web_Tabs_tt_tab10').slideUp();
$tag10.removeClass('active').find('.Rich_Web_Tabs_tt_tab10').removeClass("active")
}// else
} else {
if( !$tag10.hasClass("active") ) {
if( 'random10' === animation ){
var animations_array10 = Array("Scale","Bounce","FadeUp","FadeDown","FadeLeft","FadeRight","SlideUp","SlideDown","SlideLeft","SlideRight","ScrollUp","ScrollDown","ScrollLeft","ScrollRight","BounceUp","BounceDown","BounceLeft","BounceRight","HorizontalFlip","VerticalFlip","RotateDownLeft","RotateDownRight","RotateUpLeft","RotateUpRight","TopZoom","BottomZoom","LeftZoom","RightZoom");
var rand_animation10 = animations_array10[Math.floor(Math.random()*animations_array10.length)];
return_animation10(rand_animation10);
}
var index10 = $tag10.index();
var current10 = $tag10;
$tag10.parent().find("li.active").removeClass("active");
$tag10.addClass("active");
$tag10.closest(sel10).find("div.Rich_Web_Tabs_tt_tab10.active").attr('class', 'Rich_Web_Tabs_tt_tab Rich_Web_Tabs_tt_tab10 Rich_Web_Tabs_animated ' + animationOut);
setTimeout(function(){
current10.closest(sel10).find("div.Rich_Web_Tabs_tt_tab10").eq(index10).attr('class', 'Rich_Web_Tabs_tt_tab Rich_Web_Tabs_tt_tab10 active Rich_Web_Tabs_animated '+ animationIn);
settings10.cb_after_animation();
},timer10);
}// if
}// else
});
/*==============================================
RESPONSIVENESS
===============================================*/
// create variables that will store values that will be added later
var tabsWidth10 = 0;
var currWidth10 = 0;
var conWidth10 = 0;
var mobile10 = true;
var tabW10 = 0;
var called10 = 0;
var resized10 = 0;
primWidth10['resized10'] = 0;
calcWidth10();
if( settings10.mode != 'accordion' ) {
if( settings10.mode != 'vertical' ) {
if( tabW10 primWidth10['container10'] || tabs10.width() > primWidth10['container10'] ){
resize10();
$("div.Rich_Web_Tabs_tt_tab10").removeClass('Rich_Web_Tabs_animated');
} else if( false === tabsResponsive10 && tabW10 primWidth10['resized10'] + 40 ) {
resize10();
}
}
} else {
// if starting from small screen
if( windowWidth10 primWidth10['container10'] * 1.5 ) {
reset10();
$("div.Rich_Web_Tabs_tt_tab10").removeClass('Rich_Web_Tabs_animated');
setTimeout(function(){
calcHeight10();
if( 1 === once10 ){
primWidth10['disposal'] = tabW10 + 130;
} //if
},120);
//} //if
} else if( windowWidth10 >= 553 ){
var zbr = tabs10.find('li').length * 170; // calculate approximate width for each tab10 nav
if( currWidth10 > zbr ) {
//alert(2)
resize10();
} else {
//alert(22)
resize10();
}
}
}//else
}); //window.resize()
} else { // if vertical mode
var windowWidth10 = parseInt( $(window).outerWidth() );
if( windowWidth10 < 760 ){ // if starting from small screen transform it to accordion now
reset10();
mobile10 = true;
$("div.Rich_Web_Tabs_tt_tab10").removeClass('Rich_Web_Tabs_animated');
}
$(window).resize(function(){
// resp10(this);
windowWidth10 = parseInt( $(window).outerWidth() ); // updatedevice width;
calcWidth10();
if( !mobile10 ) { // if viewed on larger screen and then resized10 to smaller one
if( windowWidth10 553 ){
resize10();
setTimeout(function(){
calcHeight10();
},120);
} else {
reset10();
}//else
}//else
});//window.resize()
} // else (is vertical)
} else {
// alert(111);
reset10();
}//else( is accordion)
/*==============================================
HELPER FUNCTIONS
===============================================*/
function calcWidth10(){
// resp10(this);
// reset10 variables before adding new values
tabsWidth10 = 0;
currWidth10 = 0;
conWidth10 = 0;
// get the widths of both navigations and container10 currWidth10 = parseInt( tabs10.find('li').first().outerWidth(true) ); // get current10 width of resized10 tab10 li
conWidth10 = parseInt( container10.outerWidth(true) );
if( tabsResponsive10 === false ){
tabs10.find('li').each(function(){ // loop through navs and add width to variable
tabsWidth10 += parseInt( $(this).outerWidth(true) );
}); //if
} else {
tabsWidth10 = primWidth10['tabs10'];
}//else
// use the array created in the beginning to store primary widths
//make sure that this process is done only once10 (preventing the new values to override the old ones)
if( 0 === once10 ) {
once10++ ;
primWidth10['tabs10'] = tabsWidth10 + 10;
primWidth10['container10'] = conWidth10;
} else if ( 0 === once10 && mobile10 ){
primWidth10['container10'] = sel10.find('.Rich_Web_Tabs_tt_tabs10 li.active .Rich_Web_Tabs_tt_tab10').width();
}
tabW10 = parseInt( $('.Rich_Web_Tabs_tt_tab10').width() );
}// calcWidth10()
function calcHeight10(){
//seting the the tab10 content height to the tallest tab10 content
// src = http://stackoverflow.com/questions/6781031/use-jquery-css-to-find-the-tallest-of-all-elements
// Get an array of all element heights
// console.log(tab10);
tabHeights10 = tab10.map(function() {
return $(this).outerHeight(true);
}).get();
// console.log(tab10);
// Math.max takes a variable number of arguments
// `apply` is equivalent to passing each height as an argument
maxHeight10 = Math.max.apply(null, tabHeights10);
container10.css('min-height', (maxHeight10+20)+"px");
container10.css('height', "auto");
}
function reset10(){
// transform tab10 to accordion if number of nav tabs exceeds container10 width
tabsResponsive10 = true;
if( called10 === 0 ){
primWidth10['resized10'] = parseInt( container10.width() );
called10++;
}
// sel.addClass('responsive');
jQuery(".Rich_Web_Tabs_Tab").each(function(){
jQuery(this).addClass("responsive");
})
if( tabs10.find('li').first().find('h3').length != 1 ){
// tabs.find('li').wrapInner('
');
}
// resp10(this);
var index10 = -1;
var zbir10 = tab10.length;
// console.log(jQuery(".Rich_Web_Tabs_tt_tab").length);
// console.log(jQuery(".Rich_Web_Tabs_tt_tabs li").length);
for(var i=0;i<jQuery(".Rich_Web_Tabs_tt_tab10").length;i++){
(jQuery(".Rich_Web_Tabs_tt_tab10").eq(i)).appendTo(jQuery(".Rich_Web_Tabs_tt_tabs10 li").eq(i));
}
for( var i = 0; i li').eq(i));
}
if( resized10 === 0 ){
resized10++;
}
// console.log(resized10);
sel10.find('.Rich_Web_Tabs_tt_tabs .Rich_Web_Tabs_tt_tab10').not('.active').slideUp();
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_2').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_3').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_4').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_5').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_6').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_7').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_8').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_9').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_11').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_12').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_13').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_14').addClass('Rich_Web_Tabs_tabs_1');
sel10.find('.Rich_Web_Tabs_tt_tabs').removeClass('Rich_Web_Tabs_tabs_15').addClass('Rich_Web_Tabs_tabs_1');
$("div.Rich_Web_Tabs_tt_tab10").removeClass('Rich_Web_Tabs_animated');
}// reset10
function resize10(){ // reset10 accordion to tab10 again
// resp10(this);
if( !mobile10 && settings10.mode != 'vertical' ){
tabsWidth10 = 0;
currWidth10 = 0;
conWidth10 = 0;
}
var activeIndex10 = tabs10.find('li.active').index();
sel10.removeClass('responsive');
tabsResponsive10 = false;
tabs10.find('li').each(function(){
var h3 = $(this).find('h3');
var value = h3.html();
$(this).find('.Rich_Web_Tabs_tt_tab10').appendTo(container10);
$(this).html(value).find(h3).remove();
tab10.css('display', 'block');
});
tabs10.find('li').eq(activeIndex10).addClass('active').siblings().removeClass('active');
container10.find('.Rich_Web_Tabs_tt_tab10').eq(activeIndex10).addClass('active').siblings().removeClass('active');
if( mobile10 ){
tabW10 = 0;
tabs10.find('li').each(function(){ // loop through navs and add width to variable
tabW10 += parseInt( $(this).outerWidth(true) );
});
conWidth10 = parseInt( container10.outerWidth(true) );
}
}// resize
return this;
}; // turbotabs10
}( jQuery ));