If you don't want the widget to open on page load, don't do this:
Code:
<script type="text/javascript">
var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site", "width=800px,height=350px,resize=1,scrolling=1,center=1", "recal")
googlewin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close window 1?")
}
</script>
You may instead do:
Code:
<a href="#"
onclick="googlewin=dhtmlwindow.open('googlebox', 'iframe', 'http://images.google.com/', '#1: Google Web site', 'width=800px,height=350px,resize=1,scrolling=1,center=1');return false;"
>Create/Open Google Window</a>
Bookmarks