No sign of scrulling in the new window.



  • Creating a new window:

    var openedWindow = window.open("/", "новое окно", "scrollbars=no,resizable=no,left=50,top=50,toolbar=no,location=no,status=no,width=250,height=300,menubar=no");
    

    a The challenge for the contents of the window to be converted to 200px axes, i.e. pre-screened, was to:

    openedWindow.onload = function() {
    openedWindow.scrollTo(200,50);
    }
    

    It's not working.

    How do you realize that?


  • QA Engineer

    It's not gonna work out a little page in the window. Read. https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy ♪ Unfortunately, there's no way to stack.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2