Opening and controlling a new popup window

we can assign a var to the method and control the popup. but in order for it to work, remember to use to “opener” method or else it will fail in firefox.

for example,

var d ='../popup/'+url,  'popup', 'width=1024, height=1024, scrollbars=1');

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.