Forum Moderators: not2easy

Message Too Old, No Replies

link opening to a new page

can this be done with CSS?

         

annej

11:13 pm on Aug 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd like to be able to set a whole page or section of a page to have links open to a new page like

target="new_page
and
target="_blank"
does.

Is there a way to do this?

Reflection

11:16 pm on Aug 13, 2003 (gmt 0)

10+ Year Member



Nope not with CSS.

annej

11:35 pm on Aug 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks. I couldn't find it anywhere in Meyer's referance book but I was hoping. :)

DrDoc

3:01 pm on Aug 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



target="new_page"

FYI it doesn't open the link in a new window. It tries to find a frame named "new_page". In failing to do so, the browser opens the page in a new window, names it "new_page", and displays the page in there. Subsequent page will be opened in this window (unless you close it).

target="_blank" always opens the page in a new (unnamed) window

annej

10:23 pm on Aug 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Doc,

I had noticed one new_page opens just one page and then uses that for all links clicked while target opens a new page for each link but hadn't understood how it works before.

I do a lot of linking to off site references in my articles and want the article to still show so the person can continue reading. I wish there was an option that opens a new window and continues to use that window but brings it forward with each new page. Now 'new_page' can lose a person who doesn't know the new page is just hiding behind the article page. Yet 'target' can be a pain when you find you have opened several windows.

Any thoughts here on which is the best way to do this. I suppose this discussion should be on another forum.