I have put close buttons on numerous information window pages on my site. These buttons have the following syntax:
<INPUT type="button" value="close" id=button1 name=button1 onclick='window.close()';>
They work great on my very recent Mac browsers both IE and NS and work well on PC versions of IE and NS 6 and 7. The buttons don't even show up in NS 4.7. I have checked my Javascript Bible and O'Reily Dynamic HTML and can't spot the problem. They also don't work right in Apples new Safari... the button is visible but does nothing when clicked.
<INPUT type="button" value="close" id=button1 name=button1 onclick='window.close()';>
They work great on my very recent Mac browsers both IE and NS and work well on PC versions of IE and NS 6 and 7. The buttons don't even show up in NS 4.7. I have checked my Javascript Bible and O'Reily Dynamic HTML and can't spot the problem. They also don't work right in Apples new Safari... the button is visible but does nothing when clicked.