Index: lams_central/web/css/thickbox.css =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/css/thickbox.css,v diff -u -r1.2.2.3 -r1.2.2.4 --- lams_central/web/css/thickbox.css 10 Nov 2016 13:20:30 -0000 1.2.2.3 +++ lams_central/web/css/thickbox.css 11 Nov 2016 15:52:12 -0000 1.2.2.4 @@ -36,10 +36,6 @@ -moz-opacity: 0.75; opacity: 0.75; } -* html #TB_overlay { /* ie6 hack */ - position: absolute; - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); -} #TB_window { position: fixed; background: #ffffff; @@ -48,13 +44,12 @@ display:none; border: 4px solid #525252; text-align:left; - top:50%; - left:50%; + margin-left: auto; + margin-right: auto; + left: 0; + right: 0; + top: 0; } -* html #TB_window { /* ie6 hack */ -position: absolute; -margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); -} #TB_window img#TB_Image { display:block; margin: 15px 0 0 15px; @@ -112,10 +107,6 @@ margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ background-image: url(../images/loadingAnimation.gif); /* modified by LAMS */ } -* html #TB_load { /* ie6 hack */ -position: absolute; -margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); -} #TB_HideSelect{ z-index:99; position:fixed; @@ -129,23 +120,22 @@ height:100%; width:100%; } -* html #TB_HideSelect { /* ie6 hack */ - position: absolute; - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); -} #TB_iframeContent{ clear:both; border:none; margin-bottom:-1px; - margin-top:1px; _margin-bottom:1px; } /* Added by LAMS. Enables scrolling on iOS devices. */ #TB_window { + height:100%; + width:90%; + max-width: 1200px; +} +#TB_iframeContent { overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; + height:100%; + width:100%; } -#TB_iframeContent, #TB_overlay, #TB_window { - height:100% !important; -}