You are here: Re: close the browser of my web application « HTML « IT news, forums, messages
Re: close the browser of my web application

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)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация