Forum Moderators: open

Message Too Old, No Replies

Opening new windows in a framed set

Seeing inconsistent behavior opening new windows

         

HeyJim

1:48 pm on Mar 23, 2004 (gmt 0)

10+ Year Member



I have a page set up for my own personal use that is not available to the public. This is the only time I use a framed set for anything so I'm not very familiar with the technical problems that can pop up and how best to resolve them.
When I click on the left frame I am taken to the main frame and to a named anchor. The first few times I click on a link in the main frame it opens up a new window just the way I coded it. However, after going back and forth a few times (click left frame to reach named anchor in main frame; click link in main frame to view a different site) all of the windows start opening within the main frame!
Any idea why I'm having this problem and how to correct it?
Thanks.

tedster

10:32 pm on Mar 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just a guess - you may have an error somewhere in a target attribute. What you want is the dedicated attribute target="_blank" with the underscore. That is a special attribute that always opens a new window.

But if you forget the underscore, and have target="blank" then on the first click, that will oad the document a new window named "blank". But on a later click, it will load the already-open window named "blank" with a different document.

target="_blank" means always a new window
target="blank" means open in a window named blank

Is that it?