Share

Javascript Games Web

Tracker: Feature Requests

5 make games run on Firefox and others - ID: 1451569
Last Update: Tracker Item Submitted ( sunyin )

to turely leverage the power of Javascript, we need to
make the games compatible with other browsers as much
as possible.

sometimes this is just a small change,
such as in arrange.html

function getCell(row, col)
{
//return eval("a_" + row + "_" + col);
return document.getElementById("a_" + row + "_" + col);
}

inside function shuffle
if (j%2==0)
{
t = r0(gsize);
while (t == ghrow) t =
r0(gsize); //skip holes
//getCell(t,ghcol).click();
move(getCell(t,ghcol));
}
else
{
t = r0(gsize);
while (t == ghcol) t =
r0(gsize); //skip holes
//getCell(ghrow,t).click();
move(getCell(ghrow,t));
}

I would like to help modified the code to take out the
IE only bar.


sy ( sunyin ) - 2006-03-16 19:06

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.