I have a link which opens a pop-up window. It is working fine with firefox and netscape,but with IE6 it simply opens the page in the same window. Here is the code: <a href="PHIL305.html" onClick="JavaScript:window.open('PHIL305.html',' ','height=300,width=400,scrollbars=yes');return false;">PHIL 305 </a> Code (markup): How can I make it open a pop-up window in IE6?? Is it the browser compatibility issue?
ok..I modified the code and it worked. here is what I did: <a href="PHIL305.html" onClick="window.open('PHIL305.html','_blank','height=300,width=400,scrollbars=yes');return false;">PHIL 305 </a> Code (markup): Is there any other way also of doing it?
You could also leave the middle parameter blank (use two quotes with no spaces or anything else in between them, such as ''). The first attempt probably failed because you had a space in between the quotes.