Hello, I need that when you click on any place in the application with the right mouse button, you can move the window across the screen with border = none
<html> <head> <script language=javascript> var winWidth = 300; // ΡΠΈΡΠΈΠ½Π° ΠΎΠΊΠ½Π° var winHeight = 300; // Π²ΡΡΠΎΡΠ° ΠΎΠΊΠ½Π° window.resizeTo(winWidth, winHeight); var winPosX = 100; var winPosY = 100; window.moveTo(winPosX, winPosY); </script> <HTA:APPLICATION APPLICATIONNAME="Operating System Version" SCROLL="no" SINGLEINSTANCE="yes" BORDER="none" MAXIMIZEBUTTON="no" ;> <style> * { font-family: sans-serif; } html {} body { filter: progid:DXImageTransform.Microsoft.Gradient (GradientType=0, StartColorStr='#cccc99', EndColorStr='#ffffaa'); margin: 0; border: 3px solid #ee9; border-left: 5px solid #ee9; background-color: #ffa; } textarea { overflow: auto; border: 0; width: 100%; height: 80%; background: 0; color: #aa1; } #menu { background-color: #ee9; display: block; } #menu ul { position: absolute; background-color: #ee9; margin: 0; padding: 0; display: block; top: 0; left: 0; } #menu ul li { background-color: #ee9; list-style-type: none; float: left; padding: 10px; display: block; font-size: 12px; color: #aa1; } </style> <title>Flat notes</title> </head> <body> <div id="menu"> <ul> <li> Π‘ΠΎΡ
ΡΠ°Π½ΠΈΡΡ </li> <li> ΠΡΠΊΡΡΡΡ </li> <li onclick="about()"> Π ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ΅ </li> </ul> </div> <br><br> <textarea></textarea> <script type="text/javascript"> function about() { confirm("ΠΠ°ΠΌΠ΅ΡΠΊΠΈ v1.0 by suoxx"); } </script> </body> </html>