PDA

View Full Version : DHTML Window widget (v1.1) - Issue with frames



sivapc
01-14-2009, 02:38 PM
1) Script Title: DHTML Window widget (v1.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

3) Describe problem: I am using frames in my project. There are 3 frames in a frame set
1. left (left navigation)
2. head (header)
3. body (body)

I integrated the DHTML Window widget and put a link in the head frame. when i clicked on the link the popup window shows in the head frame, unfortunately the head frame is having not more that 100PX height.
Is there any way to show the popup window in the body frame so that it show all the data in it.

I am using option ajax for 'contenttype'.

Thanks

ddadmin
01-15-2009, 12:38 AM
What you can do is install DHTML Window in the BODY frame (the one you want it to show up). Then in your head frame, you can still invoke the DHTML window inside the BODY frame by using the prefix:


parent.bodyframename.openwindow()
within your JavaScript inside the HEAD frame. bodyframename should be the name of your BODY frame (per <frameset name="whatever">), and openwindow() is the function you're currently using to open the DHTML window.

sivapc
01-15-2009, 10:26 AM
Thanks for your reply.. let me try this

sivapc
01-15-2009, 10:40 AM
Thanks a lot DD Admin... that is working fine :)
Siva