First, yes, you were a great help.
Referencing the links back to the root did the trick. so the code now looks like this:
<a href="javascript:void(0)" onclick="open_url('http://"IPaddress/directory/page-1.html','my_site_content');">Announcement 1</a><br>
Cheers,
Todd
I think I am getting closer. Now the error message is:
Error: uncaught exception: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "file://///things/toddwebsite/default.html Line: 43"]
I checked the permissions and they are...
I tried that and the error object expected error is gone, but it still can't load my links, which I guess means that my link paths are wrong. Very weird since the links are located in the same directory as this file!
sorry, here is all the code:
var xmlhttp=false;
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
try {
xmlhttp = new XMLHttpRequest();
} catch (e) {
xmlhttp=false;
}
}
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with...
Sure, here is ajaxnav.js:
var xmlhttp=false;
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
try {
xmlhttp = new XMLHttpRequest();
} catch (e) {
xmlhttp=false;
}
}
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old...
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="mailto:omitted">
<img src="helpdesk.jpg"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.