Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 1
Trades: 0
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
 
 
Register now for full access!
Old 08-21-2005, 04:06 PM
kate.SM's Avatar
Average Talker

Posts: 22
Location: England
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.53508 seconds with 12 queries