Closed Bug 107197 Opened 23 years ago Closed 23 years ago

Javascript doesn't open popup window

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 100511

People

(Reporter: keeskuip, Assigned: asa)

References

()

Details

This problem doesn't happen in mozilla 0.9.4.
It does in 0.9.5 !

If I choose a room to play in, normally you get a popup window
that gets started from a javascript.
This doesn't happen.

The URL is :
http://games.yahoo.com/games/login?page=pl

You have to be a registered user to get here (but it's free)
From the JS Console:

Error:   res.options[res.selectedIndex] has no properties
Source File:   http://games.yahoo.com/games/login?game=Bridge   Line:   39

Here's the relevant code:

function lobbyopen(name) {
var sel = document.entergame.identity;
var res = document.resolution.res;
var dms;
var small;
if (res.options[res.selectedIndex].value == "small") {    << Line 39
dms = "height=400,width=620,";
   small = "&small=yes";
}

Relevant HTML:

<tr><form name=resolution action="/" method=post>
<td bgcolor="#dcdcdc" valign=middle width="98%"><font
face="Arial"><b>Select&nbsp;a&nbsp;Room&nbsp;to&nbsp;play&nbsp;in:</b></font></td>
<td bgcolor="#dcdcdc" nowrap width="1%" align=right valign=middle><font
face="Arial" size="-2">Screen Size:</font></td>
<td align=right valign=top width="1%" bgcolor="#dcdcdc"><font face=arial
size=-1><small><select name="res">
<script language="Javascript">
document.writeln('<option value="small"'+scrSize("s")+'> 640x480'+'<option
value="large"'+scrSize("m")+'> 800x600');
</script>
</select>
</small>
</font>
</td>
</form>


I can't select a screen size from the Screen Size select list.  This is filled
by the javascript above.  I seem to remember seeing another bug related to this
same problem a few days ago.

*** This bug has been marked as a duplicate of 100511 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
That's exactly the one I was thinking of.  Verifying dupe.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.