Reply to Re: close the browser of my web application

Your name:

Reply:


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]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° 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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация