I am trying to recreate a page of mine in DNN and would like to know how to include a javascript function that takes in the URL of the message page. Not sure if you can create a simple html page in DNN and how one would link to it. here is my code from my site I'm trying to convert:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=200,left = 312,top = 209');");
}
// End -->
</SCRIPT>
And here's my linking to it:
<a id="HyperLink11" href=" popUp('deadlines.aspx')">Deadlines</a>