Jsp Js Dhtml Popups

I am looking for help with s dhtml popup issue within a jsp page. I have followed the tutorial that comes up first on the google search for “dhtml popups”. I have a basic popup in place but have not been able to resolve these 2 issues.

1. The popup moves horizontally if the browser window is expanded or narrowed. This might be due to the fact that the main wrapper has a margin of 0 auto; to center the page within the browser window. I could live with this, but I am afraid that it might be causing the next issue.

2. The popup needs to be dragable. I have integrated the logic from this tutorial and I can see the javascript logic being performed by debugging with alert statements, however, it doesn’t seem to et past this statement – document.onmousemove=movemouse

I have tried the tutorial code in a separate jsp page in a wrapper division with margin of 0 auto; and it works.

Do you have experience with this level of css and javascript to be able to help me with this issue? Please know in advance that I cannot give you the code for the project that I am working on. I can give you pieces of it. So, you will need to either help me by talking me through it or with TeamViewer.

Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *