zalipresents Posted August 26, 2015 Report Share Posted August 26, 2015 My datapages use a variety of "onclick=window.open" windows and the problem is that they all open in the same popup window...so if i have one open, then the next one opens inside of the current one and I can never open two popup windows at the same time. How can i tell the new window to open in a different popup so the two windows can be placed beside each other? Here is the code i use: <a onclick="window.open('http://linktomycaspiodatapage&ID=[@field:ID]','popup','width=450,height=725,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img alt="" src="[@app:Icon_Links/]" style="width: 25px; height: 25px; margin: 1px;" title="Links" /></a> Thanks so much for your help! Quote Link to comment Share on other sites More sharing options...
zalipresents Posted August 27, 2015 Author Report Share Posted August 27, 2015 Hold the phone, i figured it out and its so super simple. From the above code, replace 'popup' with '_blank' and it will always open in a new popup window. Searched forever to find the most basic solution:) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.