shahidsan
10-29-2009, 07:29 PM
Hi,
How do i go about having multiple DHTML window open for e.g
Here is what i put in my javascript
<script type="text/javascript">
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")
googlewin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close window 1?")
}
var googlewin2=dhtmlwindow.open("googlebox", "iframe", "http://www.yahoo.com/", "#1: Google Web site", "width=490px,height=450px,resize=1,scrolling=1,center=1", "recal")
</script>
What happens is i see only one popup? How can i have it so it shows me 2 popups?
Please let me know
How do i go about having multiple DHTML window open for e.g
Here is what i put in my javascript
<script type="text/javascript">
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")
googlewin.onclose=function(){ //Run custom code when window is being closed (return false to cancel action):
return window.confirm("Close window 1?")
}
var googlewin2=dhtmlwindow.open("googlebox", "iframe", "http://www.yahoo.com/", "#1: Google Web site", "width=490px,height=450px,resize=1,scrolling=1,center=1", "recal")
</script>
What happens is i see only one popup? How can i have it so it shows me 2 popups?
Please let me know