Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML span manipulation #15

Closed
hoylemd opened this issue Jul 18, 2012 · 2 comments
Closed

HTML span manipulation #15

hoylemd opened this issue Jul 18, 2012 · 2 comments

Comments

@hoylemd
Copy link
Owner

hoylemd commented Jul 18, 2012

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

@ghost ghost assigned rocky1138 Jul 18, 2012
@hoylemd
Copy link
Owner Author

hoylemd commented Jul 18, 2012

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
Copy link
Contributor

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 <script></script> includes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants