tmasterv
IS-IT--Management
- Apr 24, 2009
- 9
Hi,
I am new to javascript and have the following code that is throwing a "Object not found" errors when I click on the hyperlinks. Here is the code:
<head>
<script type="text/javascript" src="ajaxnav.js"></script>
</head>
<body>
<a href="mailtomitted">
<img src="helpdesk.jpg" border="0"></a><br>
<table>
<tr>
<td valign=top width=300>
<H5>omitted</H5>
<a href="javascript:void(0)" onclick="open_url('page-1.html','my_site_content');">Announcement 1</a><br>
<a href="javascript:void(0)" onclick="open_url('page-2.html','my_site_content');">Announcement 2</a><br>
<a href="javascript:void(0)" onclick="open_url('page-3.html','my_site_content');">Announcement 3</a><br>
<a href="javascript:void(0)" onclick="open_url('page-4.html','my_site_content');">Announcement 4</a><br>
</td>
<td valign=top>
<div id="my_site_content">
</div>
</td>
</tr>
<table>
<tr>
<td valign=top width=300>
<br>
<H5>SMO Frequently Asked Questions (FAQ)</H5>
<a href="javascript:void(0)" onclick="open_url('page-1.html','my_site_content');">FAQ 1</a><br>
<a href="javascript:void(0)" onclick="open_url('page-2.html','my_site_content');">FAQ 2</a><br>
<a href="javascript:void(0)" onclick="open_url('page-3.html','my_site_content');">FAQ 3</a><br>
<a href="javascript:void(0)" onclick="open_url('page-4.html','my_site_content');">FAQ 4</a><br>
</td>
<td valign=top>
<div id="my_site_content">
</div>
</td>
</tr>
</table>
</body>
ajaxnav.js is located in the same as the above file. So are the html files you see referenced in the javascript.
Anybody have any suggestions?
Many thanks in advance!
I am new to javascript and have the following code that is throwing a "Object not found" errors when I click on the hyperlinks. Here is the code:
<head>
<script type="text/javascript" src="ajaxnav.js"></script>
</head>
<body>
<a href="mailtomitted">
<img src="helpdesk.jpg" border="0"></a><br>
<table>
<tr>
<td valign=top width=300>
<H5>omitted</H5>
<a href="javascript:void(0)" onclick="open_url('page-1.html','my_site_content');">Announcement 1</a><br>
<a href="javascript:void(0)" onclick="open_url('page-2.html','my_site_content');">Announcement 2</a><br>
<a href="javascript:void(0)" onclick="open_url('page-3.html','my_site_content');">Announcement 3</a><br>
<a href="javascript:void(0)" onclick="open_url('page-4.html','my_site_content');">Announcement 4</a><br>
</td>
<td valign=top>
<div id="my_site_content">
</div>
</td>
</tr>
<table>
<tr>
<td valign=top width=300>
<br>
<H5>SMO Frequently Asked Questions (FAQ)</H5>
<a href="javascript:void(0)" onclick="open_url('page-1.html','my_site_content');">FAQ 1</a><br>
<a href="javascript:void(0)" onclick="open_url('page-2.html','my_site_content');">FAQ 2</a><br>
<a href="javascript:void(0)" onclick="open_url('page-3.html','my_site_content');">FAQ 3</a><br>
<a href="javascript:void(0)" onclick="open_url('page-4.html','my_site_content');">FAQ 4</a><br>
</td>
<td valign=top>
<div id="my_site_content">
</div>
</td>
</tr>
</table>
</body>
ajaxnav.js is located in the same as the above file. So are the html files you see referenced in the javascript.
Anybody have any suggestions?
Many thanks in advance!