chestertb
10-11-2003, 12:16 PM
I have a page that uses images as buttons... nothing special about that.
When I click an image, it simply changes a number of other images on the page. That part all works just fine.
Except...
When you click an image that is a button, the browser draws a dotted border around the button area, and leaves it there until the user clicks elsewhere on the page.
At the moment, the Javascript function is called from href as follows...
<a href="javascript:select('x')".......
and select() loads images, calculates where to put them, draws them, turns others off etc.
Is there a way to turn the dotted button area border off after the function executed?
Thanks
IB
When I click an image, it simply changes a number of other images on the page. That part all works just fine.
Except...
When you click an image that is a button, the browser draws a dotted border around the button area, and leaves it there until the user clicks elsewhere on the page.
At the moment, the Javascript function is called from href as follows...
<a href="javascript:select('x')".......
and select() loads images, calculates where to put them, draws them, turns others off etc.
Is there a way to turn the dotted button area border off after the function executed?
Thanks
IB