Kids

A section that was born in 2014 when I grew up became a mom. The weaning recipes alternate with advice for moms, with the stories of a mother, sometimes desperate and with infallible methods for facilitate work and family, without losing serenity ;-)

torta di carote
3 Apr 2019 | Kids, Recipes

Carrot Cake.

  Carrot cake is absolutely Bianca’s favourite. She loves daddy’s pastry chefs ones, her grandmother’s one and the one I make with almonds. Last…

'); $this.after('
'); var $styledSelect = $this.next('div.select-styled'); $styledSelect.text($this.children('option').eq(0).text()); var $list = $('
    ', { 'class': 'select-options' }).insertAfter($styledSelect); var $cont=$('
    ', { 'style': 'max-height: 300px; min-height: 45px; overflow-y: auto;' }); $list.append($cont); for (var i = 0; i ', { text: $this.children('option').eq(i).text(), rel: $this.children('option').eq(i).val() }).appendTo($cont); } var $listItems = $cont.children('li'); $styledSelect.click(function(e) { if($('.select-options').is(':visible')) { e.stopPropagation(); $styledSelect.text($(this).text()).removeClass('active'); $this.val($(this).attr('rel')); $list.hide(); } else { e.stopPropagation(); $('div.select-styled.active').each(function() { $(this).removeClass('active').next('ul.select-options').hide(); }); $(this).toggleClass('active').next('ul.select-options').toggle(); } }); $listItems.click(function(e) { e.stopPropagation(); $styledSelect.text($(this).text()).removeClass('active'); $this.val($(this).attr('rel')); if($this[0].id=="year") JSYearSelect($this.val()); document.getElementById("startSearch").setAttribute("href", $this.val()); $list.hide(); }); $(document).click(function() { $styledSelect.removeClass('active'); $list.hide(); }); }); } function restoreNames() { $(".select")[0].childNodes[1].innerHTML=names; } function JSYearSelect() { console.log(monthArray[document.getElementById("year").selectedIndex].length); for(i=0; i'+monthArray[document.getElementById("year").selectedIndex-1][i][1]+''); makeCustomSelect(); restoreNames(); } })(jQuery);