Blog

Story from us


Duis aute irure dolor reprehenderit

фотостудия одинцово

$(document).ready(function() { $(` pm-addthis`).scrollToFixed({ preFixed: function() { $(`.addthis_floating_style`).css({ `opacity`:`0.7` }); }, postFixed: function() { $(`.addthis_floating_style`).css({ `opacity`:`1.0` }); } }); $(` sticky`).scrollToFixed(); $(" back-top").scrollToFixed( { bottom: 0, limit: 900, preFixed: function() { $(this).css(`display`,`none`); }, postFixed: function() { $(this).fadeIn(200); } }); $(`.btn`) .click(function () { var btn = $(this) btn.button(``) setTimeout(function () { btn.button(`reset`) }, 900) }); $("input:file").uniform(); }); $(document).ready(function() { $(" back-top").click(function() { $("body,html").animate({scrollTop:0}, 800); return false }) }); $(document).ready(function() { /* iOS touch fix for BootStrap */ $(`body`).on(`touchstart.dropdown`, `.dropdown-menu`, function (e) { e.stopPropagation(); }); /* $(document).ready(function(){ $(` secondary`) .css({`height`: (($(` wrapper`).height()))+`px`}); });*/ $("a.video-thumb").hover( function () { $(this).addClass("video"); }, function () { $(this).removeClass("video"); } ); //li with fade class }); $(document).ready(function() { $(" lights-overlay").css("height", $(document).height()).hide(); $(".lightOn").click(function() { $(" lights-overlay").toggle(); if($(" lights-overlay").is(":hidden")) { $(this).html(pm_lang.lights_off).removeClass("lightOff") }else { $(this).html(pm_lang.lights_on).addClass("lightOff") } return false }) }); $(document).ready(function() { $(" register-form").validate({ rules: { name: { required: true, minlength: 2 }, username: { required: true, minlength: 2 }, pass: { required: true, minlength: 5 }, confirm_pass: { required: true, minlength: 5, equalTo: " register-form pass" }, imagetext: { required: true }, email: { required: true, email: true }, agree: "required" }, messages: { name: { required: pm_lang.validate_name, minlength: pm_lang.validate_name_long }, username: { required: pm_lang.validate_username, minlength: pm_lang.validate_username_long }, pass: { required: pm_lang.validate_pass, minlength: pm_lang.validate_pass_long }, confirm_pass: { required: pm_lang.validate_pass, minlength: pm_lang.validate_pass_long, equalTo: pm_lang.validate_confirm_pass_long }, imagetext: { required: pm_lang.validate_captcha }, email: pm_lang.validate_email, agree: pm_lang.validate_agree }, errorClass: "error" }); }); $(function() { var cc = $.cookie(`list_grid`); if (cc == `g`) { $(` pm-grid`).addClass(`grid`); } else { $(` pm-grid`).removeClass(`grid`); } }); $(document).ready(function() { $(` grid`).click(function() { $(` pm-grid`).fadeOut(200, function() { $(this).addClass(`grid`).fadeIn(200); $.cookie(`list_grid`, `g`); }); return false; }); $(` list`).click(function() { $(` pm-grid`).fadeOut(200, function() { $(this).removeClass(`grid`).fadeIn(200); $.cookie(`list_grid`, null); }); return false; }); }); $(` pm-vc-report`).click(function() { $(` pm-vc-report-content`).slideToggle(`fast`, function() {}); }); $(` pm-vc-share`).click(function() { $(` pm-vc-share-content`).slideToggle(`fast`, function() {}); }); $(` pm-vc-embed`).click(function() { $(` pm-vc-embed-content`).slideToggle(`fast`, function() {}); }); $(` pm-vc-email`).click(function() { $(` pm-vc-email-content`).slideToggle(`fast`, function() { $(` pm-vc-embed-content`).slideUp(); }); }); $(` c_comment_txt`).click(function() { $(` pm-comment-form`).slideDown(); }); $(document).ready(function() { $(".pm-browse-ul-subcats ul.hidden_li").hide(); $(`.pm-browse-ul-subcats li.topcat`).hover(function(){ if ( ! $(`ul`, this).hasClass(`visible_li`)) { //$(`ul`, this).stop().delay(700).slideDown(`fast`); $(`ul`, this).stop().doTimeout( `hover`, 350, `slideDown`, `fast` ); } }, function(){ if ( ! $(`ul`, this).hasClass(`visible_li`)) { //$(`ul`, this).stop().slideUp(150); $(`ul`, this).stop().doTimeout( `hover`, 0, `slideUp`, 300 ); } }); /* Remove comment to enable drop-downs in the nav menu $(`ul.nav li.topcat`).hover(function(){ $(`ul.hidden_li`, this).