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

Call function on body load #11

Closed
vepak opened this issue Oct 9, 2013 · 2 comments
Closed

Call function on body load #11

vepak opened this issue Oct 9, 2013 · 2 comments

Comments

@vepak
Copy link

vepak commented Oct 9, 2013

Hi AJ,

I just learned about skel.js and really loved it but I'm trying to figure out how to call function on body load as currently it's not working. I'm referring to Helios template you developed.

I'm not sure how to initialize. I'd be glad if you could help me in this.

Thanks,
Vamsi.

@ajlkn
Copy link
Owner

ajlkn commented Oct 9, 2013

Like, when the DOM is fully loaded? If so, use:

skel.DOMReady(function() { ... });

Or if you're using jQuery:

$(function() { ... });

On 10/9/2013 7:00 AM, Vamsi wrote:

Hi AJ,

I just learned about skel.js and really loved it but I'm trying to figure out how to call function on body load as currently it's not working.

I'm not sure how to initialize. I'd be glad if you could help me in this.

Thanks,
Vamsi.


Reply to this email directly or view it on GitHub:
#11

@vepak
Copy link
Author

vepak commented Oct 10, 2013

Thank you. I just tried and worked perfectly.

@vepak vepak closed this as completed Oct 10, 2013
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