Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

Javascript popup wont work in Explorer?!?

  • Please log in to reply



    New Member

  • Member
  • Pip
  • 1 posts

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); 


                        <td align="right" width="160"><img src="images/ipod1.gif" alt="" width="49" height="107" border="0"><br></td> 
                        <td align="left" class="F2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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> 

And here is the page where it appears:


Thanks very much for any help you can offer!

  • 0


Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP