SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast subBlue's Avatar
    Join Date
    Jun 2001
    Location
    Edinburgh, UK
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Targeting a nested layer?

    What javascript do i use in order to open a new page within a frame nested within another frameset?

    Also, can i open a page into a nested frameset from another browser window?
    Become Interactive because its all gone a bit subBlue

  2. #2
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DOM

    You should really take some time to look at the way the dom works.

    top.frameset.framename.location for something in your own page (maybe without the frameset, depending.)

    You need to reference the other window properly, and i take it it's the opener.

    top.opener.framename. (possibly with frameset name, dpeending)

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---


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
  •