Popup Window Without Chrome (No Toolbars, Menu bars etc)

There are a few ways to open a popup window using javascript, but some methods are more accessibility friendly and cross browser compatible than others.

We would like to link to a 3rd party site, open the link in a new window, without any toolbars, menu bars etc, just the bare minimum.  The site we are linking to has it's own body onload function to resize the window to a certain dimension so we probably don't need to think about that aspect, except opening the new window without the chrome.

I have seen various examples online in the past but am not sure how to create one for this specific situation.  Here is what would be considered a bad example, and a good example.

Bad example:

<a href="javascript:somefunction('http://www.example.com/link7.htm')">popup</a>

Good example:

<a id="popup" href="http://www.example.com/link7.htm" target="_blank">popup</a>

In the 'bad' example, with javascript turned off, the link becomes a total dud.  In the second better example, the link still goes through to the intended site, except that the javascript function to remove the toolbars etc will not take place - which is not as ideal but the content is still accessible, which is what counts.

If this makes sense and you have a solution that is similar to the second example above, please share your code for it.  Thanks.
thyrosAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

obareeyCommented:
in the link7.htm you can write as:
window.personalbar = false;
window.toolbar = false;
window.scrollbars = false;
window.statusbar = false;

Open in new window

0
thyrosAuthor Commented:
Unfortunately, the link7.htm is hosted on a third party server so I would not be able to add that code to their site.  If you have any javascript examples which are hosted on our original site where the outgoing link is, that would be appreciated, thanks.
0
obareeyCommented:
then I don't know any solutions without JS. but you can just add <noscript>activate JS</noscript> tags and tell user to activate JS.
0
thyrosAuthor Commented:
Hello,

I found an unobtrusive and accessible javascript based solution here:
http://www.accessify.com/features/tutorials/the-perfect-popup/

It does everything I described in the initial post.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.