Errant_Shadow Posted August 9, 2009 Share Posted August 9, 2009 I know how to name frames in a framset, and I know how to use the target attribute with my links, but what I can't seem to find is how to name my page so I don't open new windows when linking to it from outside pages, such as e-mail links. Here's my exact problem. You go on my site and register an account. The server sends you an e-mail with a confirmation link that sends you back to my site, where the handling script it. Right now this operation will either overwrite your e-mail page, or open a whole new window. What I'd prefer, however, is the user to click the link and have it overwrite the window that has my site already opened in it. My site is not using frames, so is this possible? Quote Link to comment Share on other sites More sharing options...
haku Posted August 10, 2009 Share Posted August 10, 2009 Not possible. Quote Link to comment Share on other sites More sharing options...
infiniteacuity Posted August 10, 2009 Share Posted August 10, 2009 You can have the window that they signed up on try to close if you are worried about having 2 instances of your site open. Even that isn't a great option, but I don't think you can do much else. Quote Link to comment Share on other sites More sharing options...
Errant_Shadow Posted August 12, 2009 Author Share Posted August 12, 2009 I know you can open named windows if you give it a target that doesn't yet exist, and once you do, then all other calls to that target will refresh that window. <a href="http://mysite.com/" target="myWindow@mySite">MySite.com</a> (will open a new tab) <A href="http://mysite.com/stuff.htm" target="myWindow@mySite">Stuff</a> (will open the page "stuff.htm" in the same window as the link above) But there's no other way to do that? 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.