„After many years of doing this, I seem to have settled on this pattern for the last few years. If everyone used this, our web browsing lives would be so much easier, productive and fun.
Try It
Why is this so awesome? If the browser doesn’t have JavaScript enabled, it still works. For anyone who just clicks and does have JavaScript enabled, you get control of how the window opens, but most importantly, anyone who WANTS control of how the window is opened still gets it. Even if you want your window to be opened with no toolbars, and be exactly 400 pixels tall, I may really want it in another tab. And at the end of the day it’s my screen. Give me the dignity to choose.“

The One True Way to Open a Window in JavaScript : LivePipe& Blog

Von admin

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert