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

Attach to element instead of window? #3

Open
thetrickster opened this issue Apr 16, 2014 · 3 comments
Open

Attach to element instead of window? #3

thetrickster opened this issue Apr 16, 2014 · 3 comments

Comments

@thetrickster
Copy link

I was looking to see if there's a way we can have an option to set which element we'd like the animation to happen in and the bugs will stay contained to that element. I see you have quite a bit of code based on the window height and width for the bugs to fly in and out, etc. and was wondering if you thought about adding an option to specify an element to contain the animation.

Cool little code but I don't think I can use it on a whole page--

@Auz
Copy link
Owner

Auz commented Oct 26, 2014

I might do this, but would require a bit of rework. I'll keep you posted.

@ulf-
Copy link

ulf- commented Jun 1, 2016

Any chance this ever got updated to select an element rather than the entire page? I would love to use your script, but if I have to apply it to the whole page it's not going work. Let me know - thanks!

@girl1234
Copy link

how can i valid bugs comes from specific div instead coming across window? please help

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

4 participants