A New Way to Deal with Popup Windows

When creating a popup window from a hyperlink or button, I often get an error because I try to do it myself and the author has hard coded the same behavior. A little consideration for advanced users will avoid irritating them.

Instead of:


Use this:


This is another way:

 PromptshowWin.js:function showWin(href) {	window.open(href, "myWin","width=780,height=540,left=10,top=10,status=no,toolbar=yes,_menubar=no,location=no,scrollbars=yes,resizable=yes",false);	return false;}
Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: