Permalink
Browse files

If the page height is less than 200px, IFRAME does not force vertical…

… scrollbar now.
  • Loading branch information...
1 parent abb18ba commit b9f4277ab33dd5a0e7b7e64ae216afab3f2c8e2e @DmitryKoterov committed Jan 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dklab_realplexor.js
View
2 dklab_realplexor.js
@@ -21,7 +21,7 @@ function Dklab_Realplexor(fullUrl, namespace, viaDocumentWrite)
+ ' id="' + this._iframeId + '"'
+ ' onload="' + 'Dklab_Realplexor' + '._iframeLoaded("' + this._iframeId + '")"'
+ ' src="' + fullUrl + '?identifier=IFRAME&HOST=' + host + '&version=' + this.version + '"'
- + ' style="position:absolute; width:200px; height: 200px; left: -1000px; visibility:hidden"' +
+ + ' style="position:absolute; visibility:hidden; width:200px; height:200px; left:-1000px; top:-1000px"' +
'></iframe>';
this._iframeCreated = false;
this._needExecute = false;

0 comments on commit b9f4277

Please sign in to comment.