-
Notifications
You must be signed in to change notification settings - Fork 6
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
Make index.html slideshow dynamic #54
Comments
Simply including slideshow js before main js will probably not be enough. Slideshow.js will use async requests to get data from google sheet. Thus, main.js might have already finished when slideshow.js actually runs. Look into using maybe jquery so we can make main.js's slideshow code wait |
Maybe we can use .when() and .register() methods to make main.js's slideshow code wait until slideshow.js is ready |
Jquery sounds intimidating but isnt really that bad. It expands what you can do with javascript. With jquery, you can use $('#imgId').src='http://...'; to change an image's source. Whereas without jquery, you would do the same thing as You can select all elements of a class with $('.className') and do something to it. Jquery also lets you do things you cant do before. Look up jquery API. An example would be $('#photo').fadeIn(100); to fade in an image over 1 second |
We don't update this part of the page enough to justify Dynamic Resource implementation. |
Keep in mind...
The text was updated successfully, but these errors were encountered: