Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

HTML Opens New Window?

I used to do web design quite a bit and I usually hand code the whole thing since I find that easier to get exactly what I want. However, I'm rusty. I'm now working on a small internal website for my company and they had used MS Word to build the old page. Rather then rebuild the whole thing I figured I'd use what they had and just tweak little bits.

My problem is I built a frameset and want all the links to open in one of the frames NOT to open new windows. It works once and then every link after that opens a new window. I already checked and found no target=_blank entries in my code.

My frameset is built properly and my frames are named properly. My links are labeled target="frame" where frame is the name of the frame I want them to open in. I think this has to be something in the old MS Word code that I'm borrowing.

Anyone seen this before?

Update:

The old code from the MS Word pages looks like crud honestly. It has a lot of IE/Word specific tags, some mis-handled tags, some tags unclosed, etc. I went through and tried to fix the majority of them and remove the IE/Word specific stuff but some of it is the formating and I'd like to leave it in there.

Currently my thought is that I can't use the old code and have it behave the way I'd like. But on the advice of a friend I'm removing the built in css and building my own from scratch then encasing each page element in paragraph tags. I'm also removing the duplicate class tags now (it had two or three classes for each element, some that should have been combined into single tags, others that just shouldn't have been there).

I know it's not a real answer to why it's doing this but it seems to be working better now. Also part of the problem appears to be a couple of the sites I'm linking to, they don't like to leave the screen when another link is clicked.

2 Answers

Relevance
  • Jeff E
    Lv 4
    1 decade ago
    Favorite Answer

    It is hard to say without seeing the code. Please post a link to a page!

    Also if it is old it probably should be rebuilt and updated to xhtml anyways, and throw out the frames.

  • 1 decade ago

    ... in the old MS Word code that I'm borrowing.

    RUN AWAY! RUN AWAY!!!! RED ALERT!!!! OOWEEEEP! OOWEEEEP!

    Seriously though... what the guy above me said: what's the code look like?

Still have questions? Get your answers by asking now.