SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Feb 2000
    Location
    Minnesota
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am attempting to link to a particular area of a frame within a framset. I understand how to use anchor tags as well. The problem is, I can't point a link to an anchor that is within a frame of a new window. When a user clicks on the link, a new window will appear. This winow will contain frames. I would like to point certain links to specific areas within one of the frames. Is this making sense?

    Please click on the below link:
    http://www.sfxserve.com/Homepage/keo...my_account.htm

    Now, if you click on the blue highlighted links, it will open up a new window. This new window is constructed with frames. The top one displaying the blue header and the bottome one containing the content. Now, if they click on the "tax exempt I.D.", I would like the new window to open up with the bottom content showing "tax exempt I.D." at the very top. (So the user will not have to scroll down each time to find the help topic of their choice).

    This is the code I am currently using on the links:
    <A HREF="javascriptpenWin('help_frames.htm#taxexempt');">

    I just can't get the "#taxexmpt" part to work.
    Sorry this was so long but I would appreciate any help.
    Thanks
    -Hideki


  2. #2
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Let me preface this with: I didn't go to the link. However...

    'help_frames.htm#taxexempt' presumes the anchor is on a non-framed page. You either have to use the full DOM (parent.framename...) or try something like:
    'help_frames.htm?taxexempt'
    and then use location.search to go to the anchor

    Vinny
    Where the World Once Stood
    the blades of grass
    cut me still

  3. #3
    SitePoint Addict
    Join Date
    Feb 2000
    Location
    Minnesota
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Vinny, thank you for responding.

    I would be greatful if you could explain it in more detail.
    The framename where the anchor resides is "bottom". What would the exact full DOM be?

    Also, would it be possible to use the "target" attribute?

    Thanks again.
    -Hideki


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
  •