Slimshaneey
asked on
Problem linking on a CD Rom html page
Hi there. Im having a problem with IE on a html page that I have created for a CD rom that demos some movies content. Everything works well on the page except for a small piece of javascript I have acting within the link it self.
It works fine in Firefox but in IE I get a permission Denied Error
The code is like this:
<a href="javascript: document.location.href='in dex.html'; ">Home</a>
What can I do to get it running? It works fine in testing on the file system on my PC but when I burn the cd to test this problem appears.
It works fine in Firefox but in IE I get a permission Denied Error
The code is like this:
<a href="javascript: document.location.href='in
What can I do to get it running? It works fine in testing on the file system on my PC but when I burn the cd to test this problem appears.
Check in Tools->Internet Options, Security tab what security level IE is working at. Additionally, under the Local Intranet zone, click Sites & check the UNC paths option.
ASKER
Java permissions are medium, I tried Low and still no difference, and UNC paths are checked.
if you have links like this:
<a href="javascript: document.location.href='in dex.html'; ">Home</a>
then you don't need javascript;
<a href="index.html">Home</a>
<a href="javascript: document.location.href='in
then you don't need javascript;
<a href="index.html">Home</a>
ASKER
I did try that, but for some reason the direct link doesnt work from a cd due to the way the browser interprets the relative links from a cd, hence having to use the javascript.
probably you have some <base href=.....
remove or change it
remove or change it
ASKER
Nope, no base href....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER