Помогите с thickbox

artemacox
На сайте с 18.01.2010
Offline
89
524

Во всех браузерах окно вылазит развернутое, а в опере сжимает, как на картинке.

Перепробовал кучу Fix ов и разных версий thickbox

---------- Добавлено 23.03.2012 в 08:48 ----------

Вот что отвечает за это:

// Auto resize details height

var details_height = Math.round(jQuery(window).height() * 0.8);

jQuery(window).resize(function() {

details_height = Math.round(jQuery(window).height() * 0.8);

jQuery("a.thickbox.more-details").attr("href", "./#TB_inline?height=" + details_height + "&width=600&inlineId=sc-catalog-details");

});

jQuery(document).ready(function() {

jQuery("a.thickbox.more-details").attr("href", "./#TB_inline?height=" + details_height + "&width=600&inlineId=sc-catalog-details");

jQuery(".sc-catalog-list-item a.thickbox").click(function() {

var li = jQuery(this).parent().parent();

var id = li.attr('data-id');

var img = li.children("img").attr("src");

var title = li.children("h3").html();

var catch_phrase = li.children("p").html();

var text = li.children("div.sc-catalog-text").html();

jQuery(".sc-catalog-details").html("<img src=" + img + " /><h3>" + title + "</h3><p class=\"sc-catalog-catch-phrase\">" + catch_phrase + "</p>" + text);

return true;

});

});

DS
На сайте с 01.01.2011
Offline
24
#1

Покажите скомпилированный стиль (а лучше симулируйте на http://jsfiddle.net)

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий