Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Is it possible to use the SO Button to link to a resizeable window?
If yes, please point me in the right direction.
Thank you.
Stephen Reeve
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:
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.
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
Hi Steve,
Try:
No, unfortunately that does not work.
Have tried many variations – obviously not hit on the right one!
Steve
Hi Steve,
Hm. I’m not too sure. That has typically always worked for me. What browser are you using?
Firefox – I was beginning to wonder if that might be the issue.
Will try another when I have a free moment.
Steve
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