Hi,
I notice that there is a problem with Javascript In Chrome, when I
create a window (popup) object and call successivly moveTo and
resizeTo, just the last method called give result, so only size or
position is correct at a time !!!
you can try that with this very simple examlpe :
Code:<html> <head> <title>Le titre de la page</title> <script language="javascript"> function Ouvrir2() { var hWnd = open('', 'Service', 'toolbar=no,status=yes,resizable=yes,location=no,scrollbars=yes'); hWnd.resizeTo(400,400); hWnd.moveTo(100,200); hWnd.focus(); hWnd.location.href = 'http://www.google.dz'; } </script> </head> <body> <button onClick="Ouvrir2();">Ouvrir2</button> </body> </html>
If someone has solution i will be happy.
Thank you


LinkBack URL
About LinkBacks



Reply With Quote