View Single Post
  #1 (permalink)  
Old 07-11-2007, 10:52 AM
RealBiker RealBiker is offline
Rookie
 
Join Date: Jul 2006
Location: Toronto
Posts: 12
RealBiker is on a distinguished road
Unhappy Popup not working in Internet Explorer

The following JavaScript works in Firefox 2, but not in IE6. Is this a known bug in IE? The page validates in Firefox, but shows some unknown "Error on page" in IE. Any idea?

HTML Code:
<script language="javascript" type="text/javascript">
    <!--
        var newwindow;
        function popuo(url, name)
        {
            newwindow=window.open(url,name,'height=550,width=550,left=500,top=350,resizable=yes,scrollbars=yes');
            if (window.focus) {newwindow.focus()}
        }
    // -->
</script>

<a href="javascript:popup('/page1.html');">Page 1</a> 

__________________
Directory Lover Quality Web Directory with 10 Deep Links

Reply With Quote