Re: window open problems
Originally posted by perren
How could i make this without scrolling back to the top on the main window.
First you start with something that works in all browsers:
<a href="http://www.w3.org/">W3C</a>
And then you add the pop-up feature for those browsers that do support it:
<a href="http://www.w3.org/" onclick="window.open(this.href, 'child'); return false">W3C</a>
But with some pop-up blockers you'll still end up with a broken link. And as nobody really wants a pop-up anyway, you might as well refrain from their use.
“The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
—Tim Berners-Lee, W3C Director and inventor of the World Wide Web
Bookmarks