Web Analytics Made Easy -
StatCounter Popup Help Frameset Anchor Targets - CodingForum

Announcement

Collapse
No announcement yet.

Popup Help Frameset Anchor Targets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Popup Help Frameset Anchor Targets

    Hi,

    I am setting up a popup help window when user clicks on the "Help" button related to a specific issue.

    I need some help to be able to target an anchor in the bottom frame of the popup frameset to jump to the specific help topic.

    This needs to occur by simply clicking in the parent window. My current code is not working.

    <body>
    <script type="text/javascript">
    <!--

    function loadHelp(url){
    helpWin=window.open("frameset.html",'win','left=200,top=100,height=400,width=400')

    helpWin.parent.bottomframe.location=url
    helpWin.focus()

    }

    //-->
    </script>
    <a href="#null" onclick="loadHelp('bottomframe.html#anchor1')">Link 1</a> <a href="#null" onclick="loadHelp('bottomframe.html#anchor2')">Link
    2</a> <a href="#null" onclick="loadHelp('bottomframe.html#anchor3')">Link 3</a>
    <a href="#null" onclick="loadHelp('bottomframe.html#anchor4')">Link 4</a> <a href="#" onClick="MM_callJS('loadHelp')">Help</a>
    </body>

    Anyone help with this one?

    Thanks, Greg.

  • #2
    See if this doesn't help you any...

    http://www.codingforum.net/showpost....37&postcount=2

    HTH,

    -sage-
    HTML & CSS Forum Moderator

    "If you don't know what you think you know, then what do you know."
    R.I.P. Derrick Thomas #58
    1/1/1967 - 2/8/2000

    Comment

    Working...
    X