I am attempting to create a javascript function to create a popup window from my drupal site.
function popitup() {
newwindow=window.open('popup.html','name','height=200,width=150');
if (window.focus) {newwindow.focus()}
return false;
}
This works fine, except that Drupal redirects the url to the main-page of my module. I'd like to be able to use a raw HTML file, or at the very least a Drupal Hook page without any Drupal theming.
Any advice?