hano3
02-28-2012, 01:34 AM
:1) Script Title: DHTML Window widget (v1.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
<script type="text/javascript">
var googlewin=dhtmlwindow.open("googlebox", "inline", "<p align='center'><font face='Arial' color='#333333'><embed height='88' width='701' menu='true' loop='true' play='true' scale='exactfit' wmode='Window' quality='1' type='application/x-shockwave-flash' src='/UserFiles/11/Flash/swf/csts shop.SWF' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed></font>{shop}</p>", "#1: Disc Site", "width=690px,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 to exit eshop")
}
</script>
DHTML automatic window "inline" call does NOT run {???} command… But with onClick "inline" call! They Work !fine! Why ??:confused:
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm
<script type="text/javascript">
var googlewin=dhtmlwindow.open("googlebox", "inline", "<p align='center'><font face='Arial' color='#333333'><embed height='88' width='701' menu='true' loop='true' play='true' scale='exactfit' wmode='Window' quality='1' type='application/x-shockwave-flash' src='/UserFiles/11/Flash/swf/csts shop.SWF' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed></font>{shop}</p>", "#1: Disc Site", "width=690px,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 to exit eshop")
}
</script>
DHTML automatic window "inline" call does NOT run {???} command… But with onClick "inline" call! They Work !fine! Why ??:confused: