|
| |
|
|
khc
Posts: 7 Joined: 6/21/2007 Status: offline
|
Javascript image not working - 6/26/2007 14:28:47
I have several pages in my site with an "X" image you can click to close the page. It is not working for some reason. Here's the HTML code used: <a href="javascript:onClick=self.close()" title="Close this window" class="image" onMouseOver="document.close.src=CloseUp.src;window.status='Close this window';return true" onMouseOut="document.close.src=CloseDown.src;window.status='';return true"><img src="../images/close_dn_trans.gif" name="close" alt="Close this window" height="26" width="31"></a> </p> Can anyone tell what's wrong here?
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: Javascript image not working - 6/26/2007 15:37:46
quote:
="../images/close_dn_trans.gif" Have you double-checked that path?
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
khc
Posts: 7 Joined: 6/21/2007 Status: offline
|
RE: Javascript image not working - 6/26/2007 15:43:11
I have and it is correct. We use nearly identical code for a print icon directly next to the close icon which works fine. I am baffled.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|