Reply
Javascript popup error?
Old 08-20-2005, 01:25 PM Javascript popup error?
Junior Talker

Posts: 1
Hello,

I have a popup script that works in Mozilla but does not work in Internet Explorer. Please, maybe someone know how to fix that, becouse i'm not a programmer and i need help...

Scipt is here:
PHP Code:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
<!--
var newwindow;
function popitup()
{
    newwindow=window.open('rate.php?id=<?=$r['id'];?>','Rate <?=$r['name'];?>','height=400,width=200');
    if (window.focus) {newwindow.focus()}
}

// -->

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</SCRIPT>

Thanks in advance...
krika is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 08-21-2005, 03:06 PM
kate.SM's Avatar
Average Talker

Posts: 22
Location: England
The popup is always resizable in Mozilla, Safari and Opera.
Go figure.

The fix:

window.open('', '', 'width=200,height=200',resizable=yes);

I saw this working I am on win i.e 6

kate.SM is offline
Reply With Quote
View Public Profile Visit kate.SM's homepage!
 
Reply     « Reply to Javascript popup error?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11160 seconds with 13 queries