How to create a pop-up window within your dnn site?
host posted on 2010-02-05
- Create a js file "pop-up.js". Place the "pop-up.js" file into the "js" folder you created under the skin folder.
- Add "< script type="text/javascript" src="<%=skinpath%>/js/pop-up.js" >" right under the skin's "<%@ Register ....>"
- Create a "pop-up.html" file. Place this file under your site's root.
- Create a "pop-upstyle.css" under your site's root.
- The link to your pop-up file should look like this: < a href="javascript:popUp('http://www.yoursite.com/pop-up.html')">
- Here is a pop-up sample with a close window button