+
-
diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js
index 4f992b5..9fc2493 100644
--- a/js/cesareBrowse.js
+++ b/js/cesareBrowse.js
@@ -256,11 +256,17 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
cssLinkb.rel = "stylesheet";
cssLinkb.type = "text/css";
+ var cssLinkscroll = document.createElement("link");
+ cssLinkscroll.href = "./css/browsingldc.css";
+ cssLinkscroll.rel = "stylesheet";
+ cssLinkscroll.type = "text/css";
+
iFrameDoc.open();
iFrameDoc.write(html);
iFrameDoc.close();
iFrameDoc.head.appendChild(cssLink);
iFrameDoc.head.appendChild(cssLinkb);
+ iFrameDoc.head.appendChild(cssLinkscroll);
getDimensionsDiv()
@@ -359,12 +365,12 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
let winRatio = elmih / (mmiw-32);
-
- viewer.style.width='50%'
+ minimap.style.width = '70%';
+ viewer.style.width='40%'
if(isnick!=null){
- minimap.style.width = '40%';
- viewer.style.width='15%'
+ minimap.style.width = '70%';
+ viewer.style.width='20%'
}
@@ -374,11 +380,11 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
console.log(' cw ' +minimap.clientWidth+" bw "+ bodyWidth +" br "+bodyRatio+ ' rs '+realScale)
//realScale=scale
- minimapSize.style.paddingTop = `${bodyRatio * 500}%`
+ minimapSize.style.paddingTop = `${bodyRatio * 100}%`
console.log (minimapSize.style.paddingTop)
- viewer.style.paddingTop = `${(winRatio) * 53}%`;
+ viewer.style.paddingTop = `${(winRatio) * 50}%`;