kuza55 / csexwb2

Automatically exported from code.google.com/p/csexwb2
0 stars 0 forks source link

Moving popup don't work #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
To reproduce the bug:
- Enter site http://www.sivamdesign.com/scripts/popups.html
- Open "13. MOVING POP-UP"
- A popup appears but it doesn't move.
(Also "12. CENTERED POP-UP" show a popup but it isn't centered)

The expected output is a self moving popup.

OS and IE versions: XP and IE7

I think the problem is with javascript moveTo(x,y).

Original issue reported on code.google.com by iou.luc...@gmail.com on 4 Jul 2008 at 4:33

GoogleCodeExporter commented 8 years ago
Hi,

This is not a bug. For IE7 and up, you need to use HTMLOMWindowServices_moveTo 
and 
HTMLOMWindowServices_resizeTo events to adjust the hosting forms location and 
size. 
Add the mentioned events to your popup form and use Location or Size property 
of the 
form to acheive desired effect.

Regards,

MH

Original comment by mehr...@gmail.com on 4 Jul 2008 at 5:35