Link to web page default size

Aug 16, 2023

Hi I want to ensure that when a button is clicked  a particular webpage will open with specific dimensions and wondered what the best way is to do this?  I know I can alter the settings in the player but am cautious about doing this for the whole project in case it interferes with the LMS setup?

1 Reply
Garth Yorko

Use JavaScript

Here is the code:

 window.open ("http://www.google.com",
"mywindow","menubar=1,resizable=1,width=600,height=800")

Change the website to what you want. Change the width and height you want. It will not work in Preview; the project must be published. See attached.