What is the correct way to code for a pop up window? I have seen both ways. Both work on most browsers but Safari chokes and you must click twice to get it to work(on either code)
<a href=”homepage.asp” onclick=”javascript:window.open(‘newpopup.asp’, ‘name’, ‘width=750,height=350’); return false;”><img src=”pic” alt=”” width=”149″ height=”208″></a>
<a href=”#” onclick=”javascript:window.open(‘newpopup.asp’, ‘name’, ‘width=750,height=350’); return false;”><img src=”pic” alt=”” width=”149″ height=”208″></a>
or is there a completely different standard code that I am missing. I am looking for the best code that will work on the most browsers. Thanks!