-
How to ... DHTMLWINDOW WIDGET
1) Script Title: DHTMLWINDOW/MODAL window v1.1
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm
3) Describe problem:
I am trying to replace alert window with Modal dhtmlwindow in a project .The main screen has 5 frames. When popup a dhtmlwindow, it always located at the center of the frame which it is included in. The question is how to position dhtmlwindow into the browser's center instead of some frames. The other question is almost same: when using modal dhtmlwindow, the interveil is only cover that frame ,not the whole page, it means those links or input fields in other frames are still available, How to fix this,please?
Thank you very much.
-
-
There's no way to do this with any simulated pop up window such as DHTML modal window unfortunately. This is because frames are treated as separate browser instances by the browser, meaning any DHTML layer in my frame cannot cross over and display itself partially in another.
DD Admin
-
The Following User Says Thank You to ddadmin For This Useful Post:
-
Thank you DDADMIN.
We actually did it by searching all input elements on page and disable them except divs which we want to show, to simulate a modal window. Although popup window still only can show up in the center of frames , those other links and input field are disabled , but this solution is not such perfect. Those divs are added manually into frame. For hundreds of pages ,add divs to each page means huge work. I just wanted to find another easy way to do it by only include javascript into every jsps. Do you think if it is possible to replace all frames with divs , then include different jsps into different divs and show up dhtml window correctly?
Thank you guys for writing such good script. I learned a lot from it. I did a lot test of trying to show it in the center of browser but I failed. Maybe it's a dead end. LOL.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks