I am very new to Javascript, just learning. So I created a popup window with a sizable window. It works in Safari and Netscape but not in Explorer. Any ideas why this may be happening and how to troubleshoot it?
Here is the code I am using:
<script LANGUAGE="JavaScript"> function popup(FILE, FEATURES) { CONTENT = "<HTML><HEAD><TITLE>Horse Head</TITLE></HEAD>" + "<BODY><CENTER><FORM><INPUT TYPE='BUTTON' VALUE='Close'" + "onClick='window.close()'></FORM><P><IMG SRC='" + FILE + "' BORDER=0>" + "</CENTER>"+ "</BODY></HTML>"; pop = window.open("","",FEATURES); pop.document.open(); pop.focus(); pop.document.write(CONTENT); pop.document.close(); } </SCRIPT> <tr> <td align="right" width="160"><img src="images/ipod1.gif" alt="" width="49" height="107" border="0"><br></td> <td align="left" class="F2"> LISTEN TO BEATHUSTLER RADIO ON YOUR iPOD!<br> <A HREF="javascript:void(0)" onClick="window.open('http://www.beathustler.com/podcast.html', 'pleasework', 'width=640,height=480,toolbar=1,scrollbars=1,screenX=100,screenY=100,left=100,top=100')">CLICK HERE TO LEARN HOW</a></td> </tr>
And here is the page where it appears:
http://beathustler.com/radiofix2.html
Thanks very much for any help you can offer!
-Jessica