QueenAlice.com


Username:

Password:

Remember me



Forgot Password?
Registration FREE!





Topic: Open Game -- Time Bank Bug
Back to Forum Index
Back to Forums List


Author

Message
MetyxUnited States flag
When attempting to start an open game, there appears to be a bug where the "Time Bank" drop down list disappears when you change the "Days per Move" drop down.

When I first arrive at the page where (in the right navigation frame) there are options for:

1. Naming the game
2. Setting time per move
3. Setting a time bank
4. More options

The third option (time bank) has an annoying habit of disappearing! This happens when you select the time per move. For example, if I want 7 days per move and 7 days time bank, that doesn't seem possible.

MetyxUnited States flag
BTW, it seems to be this function that is causing the problem:

function update_bank()
{
var value = document.forms.opengame.t.value;
if (value.substring(value.length-1)[0] == "m")
document.getElementById("bank").style.display = "inline";
else
document.getElementById("bank").style.display = "none";
}


For whatever reason, you are setting the display style of the bank control to "none" after someone updates the times per move, in this line of code:

<select name="t" style="font-size: 100%;" onchange="return update_bank();">

Is this intentional?

andreavbBrazil flag
I can do that without problems... :O
The only situation where bank disappears here is when I select time per game(not per move), so bank would mean nothing.

Andrea

miguelUnited States flag
Yes. The bank field disappears when you select a days/all time control, as it only makes sense for days/move controls.

What browser are you using? Does it do anything other than what I described above for you?

Miguel

MetyxUnited States flag
Strange. I just tried it in both of my web browsers based on your information and it worked fine in Firefox (Mozilla) but doesn't work in Internet Explorer.

So this is apparently a browser specific bug. :-)

No big deal then, I can start games using Firefox just fine.

whitekingsSingapore flag
I am using Opera 8.5 and can confirm this problem whereby the bank option disappears after choosing a time, regardless of whether its a days/move or days/all time control.

1 2 Next

©2004-2024 Queen Alice Internet Chess Club
All rights reserved.