var animOpen = true; var animClose = true; $(document).ready(function(){ $('.firstlev').hover(function(){ $('ul',this).slideDown(200); }, function(){ $('ul',this).slideUp(200); }); $('input[type=text]').each(function() { var plch = $(this).attr('title'); $(this).css('color','#7cca8f') .focus(function(){ if($(this).val() == plch) { $(this).val('').removeAttr('style'); } }) .blur(function(){ if(!$(this).val()) { $(this).css('color','#7cca8f').val(plch); } }) .val(plch); }) $('.post_row h5 a').bind('mouseover',function(){ $(this).parent().parent().prepend('
'+$(this).parent().html()+'
'); }) $('.reveal').live('mouseleave', function(){ $(this).remove(); }); var testoqr = $('.qrcode').attr('title'); $('.qrcode').qrcode({text:testoqr, width:100, height:100}); $("a[rel='lightbox[slide]']").colorbox(); $('.laterlast').jcarousel({ vertical: true, scroll: 2, visible:6, auto:8, wrap:'last', buttonNextHTML:null, buttonPrevHTML:null, itemFallbackDimension:48 }) });