How to Setup Deluxe Popup Window into HTML Page
1. Open the folder where you saved the project. This folder contains:
- @datafile@ file - the file with popup window parameters and items;
- @datafolder@ folder - the folder with popup window engine js file, .css file and images.
2. Copy @datafile@ file and @datafolder@ folder into the folder where your html file is placed.
3. Open your html file in text editor, copy the following code into clipboard and paste it into the <head> tag:
If you use the html editor such as Frontpage or Dreamweaver and it brakes html code of your page when you paste the popup window,
move the above code after <body> tag.
4. You can use several functions to create, open, show and hide javascript popup windows.
function deluxePopupWindow.open("winID", "content", "header", "param", "skin", "contentType")
Creates and opens new popup window.
Example:
function deluxePopupWindow.make("winID", "content", "header", "param", "skin", "contentType")
Creates new dhtml window script. To open the window created using this function you should use show() function.
Example:
function show()
Shows popup window.
Example:
function hide()
Hides popup window.
Example:
See more info about these functions.
5. Save your html file and enjoy the popup window!