Well, if the page contained in your IFRAME is within your domain, setting focus on the DHTML window when the user clicks inside the IFRAME is possible, yep. Lets say the window is opened via the code:
Code:
var mywin=dhtmlwindow.open("pagebox", "iframe", "test.htm", "My pets", "width=590px,height=350px,resize=1,scrolling=1,center=1")
Inside test.htm, you'd add the following to the BODY tag to enable focus onclick:
Code:
<body onclick="parent.dhtmlwindow.setfocus(parent.mywin)">
Notice the part in bold, which should match up with the variable instance name you assigned at the beginning.
Bookmarks