Hello there. I have an external .js function wich makes that call window.open('htmlImages/image1.html','view','width=400,height=430,resizable=no,scrollbars=no,tollbar=no,menubar=no,top='+magnitude+',left='+latitude+''); I works fine and it opens a new window though I am been redirected to the root page of my website. I want the window.open to open a new window without changing the current location. Thank you.
It sounds like the problem is in the htmlImages/image1.html file. Check to make sure that the file exists and does not redirect the user.
Hi, I think you need wright the full address like, window.open("http://www.yoursite.com/nnn/nnn.html")
Actually, that is a code to open a popup window, not to changing your current location. If your current main window location is changed, its not from that line. There must be other lines which redirect your location.