i am making an ant game, and i have a problem:

var x,y;
for(x = 1; x <= 10; x = x + 1){
    images[x] = {
    };
    for(y = 1; y <= 10; y = y + 1){
        images[x][y] = {
        };
        $(body).append('<im'+'g id="hi">');
        var newid=x+", "+y;
        $("#hi").css('id', newid).css('top',(y*10).css('left', (x*10))
    }
}

i am pretty sure that there is a problem with the jquery lines, but im not
absolutly sure.


The JavaScript revolution has started!!! DOWN WITH FLASH!!!
DOWN WITH FLASH!!!
DOWN WITH FLASH!!!
http://www.chromeexpirements.com

Reply via email to