UncleMortis
Programmer
I'm wondering what I'm doing wrong with the location.href . I can get it to take me to another page that's in the same folder as the page with the location.href. but when I ask it to find something in another folder, it won't find it. I've tried the same path in a normal html link and it finds it right away. Am I just missing something and a location.href will not find anything that's not in the same folder?
Code:
<html>
<body>
<span onMouseDown="window.status='Mouse Is Down'"; onMouseUp="window.status='Mouse Is Up'"; onDblClick="location.href='C:\My Documents\JavaScriptGoodies\thanksalot.html'";>
Click On this Text</span>
</body>
</html>