Lectora 11 and Chrome 52

esandelis3326
esandelis3326 Community Member Posts: 8
Hello,

We created some WBT in Lectora 11. We published them as Scorm1.2 and uploaded in the LMS.

We tested the course with all Browser: IE 11, Firefox and Chrome 52.

The WBTs are ok in IE 11 and Firefox. But they don't work properly in Chrome 52. When we click on the next button,  the browser window is smaller...We are using the following script

 

<script type="text/javascript">
var myOuterWidth = 1023;
var myOuterHeight = 705;
var myInnerWidth = 1007;
var myInnerHeight = 667;
var deltaWidth = myOuterWidth;
var deltaHeight = myOuterHeight;
var actualWidth;
var actualHeight;
actualWidth = top.window.innerWidth ? top.window.innerWidth : top.window.document.body.clientWidth;
actualHeight = top.window.innerHeight ? top.window.innerHeight : top.window.document.body.clientHeight;
if (actualWidth != myInnerWidth || actualHeight != myInnerHeight) {
top.window.resizeTo(myOuterWidth, myOuterHeight);
}
actualWidth = top.window.innerWidth ? top.window.innerWidth : top.window.document.body.clientWidth;
actualHeight = top.window.innerHeight ? top.window.innerHeight : top.window.document.body.clientHeight;
deltaWidth = myInnerWidth - actualWidth;
deltaHeight = myInnerHeight - actualHeight;
if (deltaWidth != 0 || deltaHeight != 0) {
top.window.resizeTo(myOuterWidth + deltaWidth, myOuterHeight + deltaHeight);
}
</script>

Comments

  • esandelis3326
    esandelis3326 Community Member Posts: 8
    Have you any idea about this issue ?

     
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    Where are you using this script and why are you using this script?
    Also, I ran it in a random course built in Lectora 11 in Chrome 52 and it did nothing.