Commit 94725953 authored by Rene AJM Veerman's avatar Rene AJM Veerman

bugfix

parent 8e0b8da6
......@@ -3020,6 +3020,8 @@ sa.s.c = sa.site.code = {
jQuery.ajax (ajaxCommand);
},
loadContent : function (url, dontHijackLinksInThis) {
delete sa.vcc.settings['#siteContent__scrollpane'].containsIframe;
/*
var
d = document.getElementById ('iframe-content'),
......
......@@ -514,7 +514,7 @@ seductiveapps.sp = seductiveapps.vividScrollpane = {
if (scrollpaneContainer) scrollpaneContainer.theme = t;
if (scrollpane) scrollpane.theme = t;
s.containsIframe = jQuery('iframe', item.scrollpane);
s.containsIframe = jQuery('iframe', scrollpaneDiv)[0];
if (s.containsIframe) {
s.cw = jQuery('iframe',item.scrollpane)[0].contentWindow;
s.sp = jQuery('iframe',item.scrollpane)[0].contentWindow.document.getElementsByTagName('body')[0];
......@@ -1569,7 +1569,7 @@ seductiveapps.sp = seductiveapps.vividScrollpane = {
//scrollpane.style.height = 'inherit';
sa.m.log (1, 'sa.vividScrollpane.resize(): scrollpane.id='+scrollpane.id+', scrollpane.style.height="'+scrollpane.style.height+'", scrollpane.offsetHeight='+scrollpane.offsetHeight+', scrollpane.scrollHeight='+(s.containsIframe ? jQuery('iframe',scrollpane)[0].contentWindow.document.getElementsByTagName('body')[0].scrollHeight :scrollpane.scrollHeight)+', scrollpane.style.width='+scrollpane.style.width+', scrollpane.offsetWidth='+scrollpane.offsetWidth+', '+(s.containsIframe ? jQuery('iframe',scrollpane)[0].contentWindow.document.getElementsByTagName('body')[0].scrollWidth:scrollpane.scrollWidth)+'='+(s.containsIframe ? jQuery('iframe',scrollpane)[0].contentWindow.document.getElementsByTagName('body')[0].scrollWidth:scrollpane.scrollWidth));
sa.m.log (1, 'sa.vividScrollpane.resize(): scrollpane.id='+scrollpane.id+', scrollpane.style.height="'+scrollpane.style.height+'", scrollpane.offsetHeight='+scrollpane.offsetHeight+', scrollpane.scrollHeight='+(s.containsIframe ? jQuery('iframe',item.scrollpane)[0].contentWindow.document.getElementsByTagName('body')[0].scrollHeight :scrollpane.scrollHeight)+', scrollpane.style.width='+scrollpane.style.width+', scrollpane.offsetWidth='+scrollpane.offsetWidth+', '+(s.containsIframe ? jQuery('iframe',scrollpane)[0].contentWindow.document.getElementsByTagName('body')[0].scrollWidth:scrollpane.scrollWidth)+'='+(s.containsIframe ? jQuery('iframe',scrollpane)[0].contentWindow.document.getElementsByTagName('body')[0].scrollWidth:scrollpane.scrollWidth));
// --
// --- onresize for HORIZONTAL SCROLLBAR 1of2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment