Forum Moderators: open
This gave me the purple outline:
<a href="C:\Documents and Settings\Joseph\My
Documents\Websites\test.htm"><img src="home.bmp"></a>
The images that it is showing is called home.bmp as you can see and when I click it it is opening my test window but there is a purple border appearing over the picture "home.bmp".
If I replace the HREF="C:\Documents and Settings\Joseph\My
Documents\Websites\test.htm" and put:
<a style="cursor:pointer;cursor:hand" onClick="window.location.href='C:\Documents and Settings\Joseph\My Documents\Websites\test.htm';"><img src="home.bmp"></a>
The purple border will go away and it will let me click it. The only problem is that when I click on it, nothing happens. It just wont try to load anything.
Does anyone know what I am doing wrong and how to open a new page, but without the purple line on it?
Any help will be appreciated!
Please help and thanks in advance, Joseph
P.S. Sometime when I type the code that does get rid of the purple border:
<a style="cursor:pointer;cursor:hand" onClick="window.location.href='C:\Documents and Settings\Joseph\My Documents\Websites\test.htm';"><img src="home.bmp"></a>
Sometimes it will just do nothing and sometimes it will load a page and nothin will show up. In the address bar it says:
res://ieframe.dll/dnserror.htm#file:///C:Documents%20and%20SettingsJosephMy%20DocumentsWebsitesest.htm
It is like it is trying to load this but it can't. Why is this and what is it?
Please help and thanks!
[edited by: Cubsrule84 at 2:19 am (utc) on Oct. 22, 2008]