Overblog Seguir este blog
Edit post Administration Create my blog

Publicado por Jose antonio acuña

Comentar este post

'; var _gaq = _gaq || []; _gaq.push(['_setAccount', '']); _gaq.push(['_trackPageview']); _gaq.push(['_trackPageLoadTime']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); //Twitter render !function(d,s,id){ var js, fjs = d.getElementsByTagName(s)[0]; if(!d.getElementById(id)){ js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js,fjs); } }(document,"script","twitter-wjs"); // Facebook comments & like button (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=284865384904712"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); $(document).ready(function(){ // Fancybox on single pages via url $(".ob-link-img").attr("rel", "fancybox").fancybox({ type: "image" }); // Placeholder Script if($.browser.msie && $.browser.version <= 9.0 ){ $('input[placeholder]').each(function(){ var input = $(this); $(input).val(input.attr('placeholder')); $(input).focus(function(){ if (input.val() == input.attr('placeholder')) { input.val(''); } }); $(input).blur(function(){ if (input.val() == '' || input.val() == input.attr('placeholder')) { input.val(input.attr('placeholder')); } }); }); } // Scroll top button $(window).scroll(function() { if($(window).scrollTop() <= 0) { $('.scroll-to-top').slideUp("250"); } else { if($('.scroll-to-top').length == 0) { $('body').append( '
'+ "Ir arriba"+ '
'); } $('.scroll-to-top').slideDown("250"); } }); $('.scroll-to-top a').live('click', function(event){ event.preventDefault(); $('html,body').animate({scrollTop: 0}, 'slow'); }); // Backstretch if($.browser.msie && $.browser.version <= 8.0 ){ $.backstretch('http://img.over-blog-kiwi.com/0/27/01/47/201304/ob_e186fce6ce68b8fd113f4117d51ff260_aapara-blogg.jpg'); $('body').css('background', 'none'); } // Archives // Hide years without months $(".arch_year").each(function() { if ($(this).find(".arch_month li").length == 0) { $(this).hide(); } }); $(".arch_month").hide(); $('.arch_year > a').click(function() { $(this).siblings(".arch_month").slideToggle(1); return false; }); });