I made a linked image that when clicked calls a Javascript function. How can I kill the focus rectangle when it is clicked?
http://www.vbforums.com/attachment.php?s=&postid=895785
Printable View
I made a linked image that when clicked calls a Javascript function. How can I kill the focus rectangle when it is clicked?
http://www.vbforums.com/attachment.php?s=&postid=895785
:)Code:<img src="pic.jpg" onClick="body.focus();" border="0"/>
Error: 'body' is undefined
How about 'window.focus()'?
IE 6 isn't giving me any problems.
Here, see for yourself: http://www.turtletips.com/matrix/header.php
Try clicking the first icon :(
Trying window.focus() now
ahhhhhhhggggg!!!!! filburt's got no body!Quote:
Error: 'body' is undefined
run for the hills!
Ah, window.focus() did it :)
Chris, read the thread tt2 posted about Unix errors ;)
:confused: For me it worksQuote:
Originally posted by filburt1
Here, see for yourself: http://www.turtletips.com/matrix/header.php
Try clicking the first icon :(
Trying window.focus() now
Well now it does ya silly ;), I changed it to window.focus() as you suggested. :)
Okay, okay
(just trying to keep this thread going for about 150 more posts ;);))
:)
I'm game, lets go! ;)
You get the peanuts, I'll get the gin.
:cool:
Pardon?
Careful, don't want this moved to Chit Chat ;)
m'kay, to prevent further chitter chatter...
*keeps shtum*