This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Replies

7
  1. Alex S Staff 9 years, 9 months ago

    Hi Steve,

    Yes. Set up the button as you want and then go down to the Other Attributes and SEO options group and set the onclick event to the following code:

    window.open("http://yourdomain.com/example-page/", "Window Title here", "resizable,scrollbars,status");

    For more information, and other code examples, please refer to this MDN article. Please note that you shouldn’t directly copy and paste any code examples on that page as they’re not in the required on click context and are very unlikely to work. If you need help with adding the code let me know and I’ll make adjustments to it to get it working as expected.

  2. stevereeve 9 years, 9 months ago

    Hi Alex

    Thanks for persevering with me!
    This is the last major issue on this site ….

    The method you give works for a page within the site – ie opens in a new window

    but

    when trying to get a page in an external site to open it always opens in a
    new tab not new window.

    For the moment I’m just going to leave it as opening in a tab but if you
    have a moment …

    Thanks

    Steve

  3. Alex S Staff 9 years, 9 months ago

    Hi Steve,

    Try:

    window.open("http://yourdomain.com/example-page/", "_blank", "toolbar=0,location=0,menubar=0");
  4. stevereeve 9 years, 9 months ago

    No, unfortunately that does not work.

    Have tried many variations – obviously not hit on the right one!

    Steve

  5. Alex S Staff 9 years, 9 months ago

    Hi Steve,

    Hm. I’m not too sure. That has typically always worked for me. What browser are you using?

  6. stevereeve 9 years, 9 months ago

    Firefox – I was beginning to wonder if that might be the issue.
    Will try another when I have a free moment.

    Steve

  7. stevereeve 9 years, 9 months ago

    Another of those moments when I feel like throwing something!

    Sorry to have wasted your time ….

    Firefox options….

    ‘Open new windows in a new tab instead’ seems to be selected by default. You live and learn.

    Problem solved. Thanks.

    Steve

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread