ну и так))остальные тортики...
Главная - Новости

').width(collection.width()).height(collection.height()).css('opacity', .6).css('lineHeight', collection.height() + 'px');collection.before(overlay);$('#comment_button_cancel').click();$('#add_new_comment_container, #add_new_comment_top_container').hide();$('#comments_paginator').html('');$('#comment_current_page').val(page);if ($.browser.msie) var old_title = document.title;if (typeof window.history.replaceState !== 'undefined') window.history.replaceState(null, document.title, page == -1 ? '?last_page=true' : '?page=' + page);else window.location.hash = page == -1 ? '#last_page=true' : '#page' + page;if ($.browser.msie) document.title = old_title.replace(/#(.*)/, '');if (typeof arguments[1] === 'undefined' || arguments[1] === true) scrollToElement('#comments_form', -70);var callback = arguments[2];$.post('/comments/page', {sig: comments_options[0], page: page, params: comments_options}, function (data) {var view = $.parseJSON(data);overlay.remove();collection.replaceWith(view['comments_html']);collection = $('#comments_collection');$('span.comments_qty', '#comments_qty').text(view['total_comments']);$('#comments_paginator').html(view['paginator_html']);$('#add_new_comment_container, #add_new_comment_top_container').show();$.smallTooltip(collection);$.childInfo(collection);if ($.isFunction(callback)) callback.call();resizeCommentImages();});} catch (e) {return true;}return false;}var hash = window.location.hash.match(/page=([0-9]+)/);if (hash && hash[1] !== $('#comment_current_page').val()) {$(document).ready(function () {getComments(hash[1]);});}resizeCommentImages();

Источник: http://www.baby.ru

 
Интересная статья? Поделись ей с другими: