Okay, thanks a lot! After extra research and effort I decided to solve the issue by removing the calculation altogether. I let the browsers open the popups wherever they please. Now it works with dual monitors and somewhat okay overall. This is an acceptable compromise.
Hey, I'm need help. I have built an art gallery to my art site and I wrote a JavaScript program to open up a new window when picture thumbnails are clicked. Here's the code:
<script type="text/javascript">
<!--
// Open a popup window of specific size and in screen-centered position.
function...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.