ok so let say I will run this custom code as another website so I'm trying to create button on home page created in DNN that will open this "outside" website with following code
<html>
<head>
<script type="text/javascript">
function open_win()
{
window.open("http://www.dotnetnuke.com","_blank","..., location=yes, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=yes, width=800, height=400");
}
</script>
</head>
<body>
<form>
<input type="button" value="Open Window" onclick="open_win()">
</form>
</body>
</html>
button shows up on my home page, but when I click on it does nothing and I see error on page and popup does not open
since I cannot add my custom asp.net code to web page in DNN unless it is build as module and I'm ok with running it as popup box redirectling to another website how can I do this?