hoylemd / deathdeath

death death and more death. death? death!
0 stars 0 forks source link

HTML span manipulation #15

Closed hoylemd closed 12 years ago

hoylemd commented 12 years ago

Set up an array of spans on the html page to display sprites and backgrounds

hoylemd commented 12 years ago

John: I showed this to Wyatt and he suggested creating the spans in javascript so we don't have a ton of spans in the .html page. I'm inclined to agree, because those spans are making the page gigantic and hard to read. What do you think?

rocky1138 commented 12 years ago

I'd prefer to leave it as is so that it's included as the page renders. Our JS should fire after the html is ready through use of the window.onload() event.

We'll need to adjust the index.html file very little moving forward, save for the addition of more includes.