onclick issues html

I have the following code, it works in firefox and in IE, but the bolded sections don't work in Safari.  Can anyone tell me why this is and how I can fix it?

<body>
<table  border="0" cellpadding="0" cellspacing="0" hspace="0">
<tr>
  <td><table  border="0" cellpadding="0" cellspacing="0" hspace="0">
    <tr>
      <td><img src="images/column1.png" border="0" usemap="#Map">
        <map name="Map">
         [b] <area shape="rect" coords="1,321,219,436" href="main.php" title="Home">
          <area shape="rect" coords="37,215,107,235" title="News" href="myIframe.location.href='scripts/sports_news.php';">
          <area shape="rect" coords="40,251,157,271" title="Research" onClick="myIframe.location.href='scripts/researchTable.html';">
          <area shape="rect" coords="40,288,155,306" title="Watchlist" onClick="myIframe.location.href='scripts/watchlistTable.html';">
          <area shape="rect" coords="39,462,171,481" title="Competition" onClick="myIframe.location.href='scripts/competition.php';">
          <area shape="rect" coords="39,500,204,519" title="Leaderboards" onClick="myIframe.location.href='scripts/leaderboard.php';">
          <area shape="rect" coords="39,537,153,558" title="Contact Us" onClick="myIframe.location.href='scripts/html-contact-form.php';">
          <area shape="rect" coords="389,570,477,597" title="Edit Profile" onClick="myIframe.location.href='scripts/edit_profile.php';">
        </map></td>[/b]
      <a href="#" id="sample"></a><td><iframe src="main_B.html" height="1300" width="800" frameborder="0" scrolling="no" name="myIframe"></iframe></td>
    </tr>
  </table></td>
</tr>
</table>
<div class="bg_clear" style="left:411px; top:189px;"><a href="scripts/logout.php">LOGOUT</a></div>
<div class="bg_clear" style="left:247px; top:206px; width:240px; height:360px;"><a href="#" id="sample"></a><iframe src="scripts/welcome.php" height="375" width="240" frameborder="0" scrolling="no" name="myIframe"></iframe></div>
</body>

Open in new window

MsKrissyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Having ' name="myIframe" ' in two places may be confusing Safari.  Are you expecting the links to appear in both iframes when you click on them?
0
MsKrissyAuthor Commented:
I only want to have the links appear in only one iframe.  How do I fix it?
0
Dave BaldwinFixer of ProblemsCommented:
Change the name of the other one.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MsKrissyAuthor Commented:
Thank you so much, that was exactly it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.