Zen Follower
- Join Date:
- Aug 2008
- Posts:
- 334
- Plugin Contributions:
- 0
where do i place dhtml in site
hello all, i have some dhtml script that i would like to place on my site.
there is a piece that needs to go between the <header> tags and a piece that needs to go between the <body> tags of the site..
which file should they be pasted in?
here is the script
<html> <head> <link rel="stylesheet" href="windowfiles/dhtmlwindow.css" type="text/css" /> <script type="text/javascript" src="windowfiles/dhtmlwindow.js"> /*********************************************** * DHTML Window Widget- © Dynamic Drive (<https://www.dynamicdrive.com>) * This notice must stay intact for legal use. * Visit <http://www.dynamicdrive.com/> for full source code ***********************************************/ </script> </head> <body> <!-- 1) DHTML Window Example 1: --> <script type="text/javascript"> var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://images.google.com/", "#1: Google Web site", "width=700px,height=450px,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> </body> </html>