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.
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.
Comment