What I'm trying to do seems like it should be super easy. I want to create a hyperlink in a page that when clicked opens up the linked page in a new window WITHOUT including the header, and all the other stuff. Basically, if this were html, I would want to create a link like:
Code:
<a href="http://www.mysite.com/mypage.htm" target="_blank">My Page</a>
Better yet, what I've tried is this:
Code:
<a href="#" onclick="window.open('index.php?main_page=myNewPage', '_blank', 'scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=40,top=20'); return true">My New Page</a>
I've gotten this to work, but it opens in a new window within the framework of my site (with the header, etc.). I just want the file by itself, which is just html.
I've only found forum, wiki, tutorial references to something involving 4 files or javascript or zen functions, etc. If these are the only ways to do this, I'll figure it out. But there has to be an easy way to do this.
Ideally, I'd be able to create the html or php file in EZ Pages (or Define Pages?) and then based on that EZ Page file, I can reference it in a code snippet on other pages.
Bookmarks