If you look at demo 3 on the script page, it is opened via a link, and not automatically. Instead of calling dhtmlwindow.open() directly, simply wrap it in a function, and call it onClick inside the link. For example:
Code:
<script>
function openwindow(){
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site", "width=590px,height=350px,resize=1,scrolling=1,center=1", "recal")
}
</script>
<a href="#" onClick="openwindow(); return false">Create/ Open Window</a>
Bookmarks