Hi,
I have two problems about javascript popup on the windows form web browser control.
1. Javascript popup sometimes does not show on the center of the screen.
I have a page with an onload event. In the event, I use window.alert to open javascript popup. So you can imagine that after the page is loaded, you will see javascript popup without clicking any link or button. The page takes time to be rendered. If I open this page on the web browser control, wait, and don't do anything on my computer, then I see the javascript popup shows on the center of my screen.
However, if I open this page on the web browser, click the desktop button on the task bar to minimize all applications before the page is loaded. After waiting for a minutes to ensure the page is completely loaded, then I bring up my web browser application, the javascript popup will show at the upper left corner of the screen. Is there anyway to center the popup?
2. If I drag and move any javascript pop-up, the web browser has drawing problem. Here is a screenshot:
http://ironspeed.org/howie1/popup.pngAny suggestion?
Thanks
Yuenho