I have created a web page with three frames. One frame contains several links, and each link is supposed to open two pages, one in each of the other two frames. Here is the code I am using:
<html>
<head>
<script type=”text/javascript”>
function open_win(one)
{
window.open (“
window.open (“
}
function open_win(two)
{
window.open (“
window.open (“
}
</script>
</head>
<body>
<a href=”javascript:open_win(‘one’)”>One</a><br>
<a href=”javascript:open_win(‘two’)”>Two</a>
</body>
</html>
With this code, both links open the second set of links (function open_win(two). I’ve tried countless variations of this code, but haven’t been able to hit the right combination. Any thoughts about what I’m doing wrong, or not doing right?