Forum Moderators: open
[blogs.msdn.com...]
- John
Last detail - I am counting on a URL posted on a site I do not own to do this - I provide the URL to them and they post as a link.
If I'm reading this correctly, that is a tricky one! In order to "spawn a page without the File, Nav, URL, or Status bar present...." you are asking for a popup window and this can only be done by calling some JavaScript from the page you posted the link. ie. on the site you do not own!
Only if the site you post your URL to does not validate your link in anyway, then you *may* be able to get away with giving them something like...
javascript:window.open('http://mysite.com', 'mysite', 'location=No,menubar=No,resizable=No,scrollbars=No,status=No,toolabr=No,width=400,height=500'); Which, if they don't validate it, should appear in the resulting HTML link (on their site) as:
<a href="javascript:window.open('http://mysite.com', 'mysite', 'location=No,menubar=No,resizable=No,scrollbars=No,status=No,toolabr=No,width=400,height=500');">Open Popup</a> But this is pretty bad, the link is not called in the way it should be - it is not accessible and is not search engine friendly (http://mysite.com would not be seen)
And also, the calling site would be left on a blank page showing "[object]" or something.