рони,
Примерно вот так? Мне кажется это будет высотой фрейма... $('iframe').load(function(){$(this).height($(this) .contents().find('html').height()}); |
karakym,
а так? function iframeLoaded() { var frame = document.getElementById('connector'); innerDoc = (frame.contentDocument) ? frame.contentDocument : frame.contentWindow.document; objToResize = (frame.style) ? frame.style : frame; objToResize.height = 0; objToResize.height = innerDoc.documentElement.offsetHeight+'px'; frame.style.display = 'block' } |
karakym,
попробуйте этот вариант TestUser013, код ниже $('iframe').load(function(){$(this).height($(this).contents().find('html').height())}); |
Часовой пояс GMT +3, время: 15:11. |