davelf
02-17-2011, 12:29 PM
1) Script Title: DHTML Window widget
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3) Describe problem:
I can't use the "recal" function on ajax dhtml window.
This is the code i try:
function promo(){
ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "content/promo.html", "", "width=1000px,height=1000px,center=1,resize=1,scrolling=1", "recal")
}
But if i use this line of code like the example, it work perfectly:
<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(){ closed (return false to cancel action):
return window.confirm("Close window 1?")
}
</script>
Any idea for my problem, Thank you so much...:)
2) Script URL (on DD): http://dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
3) Describe problem:
I can't use the "recal" function on ajax dhtml window.
This is the code i try:
function promo(){
ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "content/promo.html", "", "width=1000px,height=1000px,center=1,resize=1,scrolling=1", "recal")
}
But if i use this line of code like the example, it work perfectly:
<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(){ closed (return false to cancel action):
return window.confirm("Close window 1?")
}
</script>
Any idea for my problem, Thank you so much...:)