• Resolved bruce7075

    (@bruce7075)


    Hello,

    I have set the URL and click “open in a new window”. May I know how I can set up the new window size when user click the button?

    Thank you very much!

    Bruce

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bruce7075

    (@bruce7075)

    I mean a popup window.

    Plugin Author Bas Schuiling

    (@basszje)

    You can put this in the URL field and it should work I think :

    
    window.open('https://example.com','pagename','resizable,height=260,width=370'); return false;

    The reason we don’t have standard options for this is that a lot of browser will ignore window sizes nowadays and just open a new full-sized tab.

    Thread Starter bruce7075

    (@bruce7075)

    Oops! It doesn’t work …

    Plugin Author Bas Schuiling

    (@basszje)

    Read the second part of the last post, this is probably because most browsers will ignore this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to set up window size’ is closed to new replies.