Results 1 to 3 of 3

Thread: target="_top" doesn't work from inside a document included with an OBJECT tag

  1. #1
    Join Date
    Jan 2005
    Location
    Cuiabá, MT - Brazil
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question target="_top" doesn't work inside a document included with an OBJECT tag - in IE only

    Hi, people.

    I'm trying to develop this new lay-out for my personal website, and I'm having problems with targeting links in an included document using the OBJECT tag ----- only in IE, it works fine in FF and NN.

    Here's the call for the external document which contains the links:
    <object id="links" data="rightDiv.htm" type="text/html" style="height: 353px; width: 100%; border: 0; overflow: visible"></object>

    A regular link like the one below....
    <a href="movies/mov_files/index.htm" target="_top">Ratos</a>
    does not cause the new page to open in the topmost window, opening it in the OBJECT area instead.

    Shouldn't this behave just as if I were using an IFRAME tag?
    Or is there something I'm missing here?

    You can check the complete code at http://kollision.vilabol.uol.com.br/noframes/index.htm (the OBJECT embedded document is the right Links area). Both pages are standards-compliant.

    Thanks.
    Last edited by Kollision; 08-10-2005 at 02:03 AM.

  2. #2
    Join Date
    Aug 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If you mean you want it to open in a new window change

    target="_top"

    to

    target="_blank"

  3. #3
    Join Date
    Dec 2004
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    maybe he means click here to return to the top of the page. you have to name something there like a div, i dont remember and then link to it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •