| 
 Posted by Kim Andrι Akerψ on 02/27/07 15:55 
sousimou@gmail.com wrote: 
 
>  
> i want to quit my browser by the command buttum on javascript but this 
> dont work 
> please helpe me and correct me this script 
>  
> <html> 
> <head> 
> <title> </title> 
> </head> 
> <body> 
> <p><object  classid="CLSID:D7053240-CE69-11CD-A777-00DD01143C57" 
> id=CommandButton1 width=96 height=32 > 
>  
>  
>  <OnClick="javascript:window.close()"> 
>  </object> </p> 
> </body> 
>  
>  
> </html> 
 
First of all, you're over-complicating it. All you really need is 
something like this: 
 
<form action=""> 
<button style="width: 96px; height: 32px" 
onclick="window.close()">Close</button> 
</form> 
 
Second of all, you really should be asking questions that only apply to 
JavaScript in news:comp.lang.javascript. 
 
--  
Kim AndrΓ© AkerΓΈ 
- kimandre@NOSPAMbetadome.com 
(remove NOSPAM to contact me directly)
 
[Back to original message] 
 |