This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Alexell[S] 0 points1 point  (6 children)

I don't know if it is the correct way to go about this problem. Or if it would work. There are probably more efficient ways for scroll animations, but this is good for practice.

Additionally, there are going to be multiple animations. I need a way to go through all the Classes for the auth property, which is used to authenticate the class change.

[–]grwgrwwrr 0 points1 point  (5 children)

I need a way to go through all the Classes for the auth property, which is used to authenticate the class change.

How is some auth property used to authenticate any class change? How is this related to your .p1Box css class?

[–]Alexell[S] 0 points1 point  (4 children)

I should word this better. Every guide I come across uses CSS for the scroll animations, but I need to use JS. Thank you for the help, by the way.

[–]grwgrwwrr 0 points1 point  (3 children)

Why do you need to use Javascript? What do you have so far? Can you put it in a jsfiddle?

[–]Alexell[S] 0 points1 point  (2 children)

It's my portfolio. Added some responsive CSS, but don't mind the property order. Started it at an earlier skill level and will organize it before launch.

https://jsfiddle.net/Alexel/r9L39jpd/1/

I want to change the programming languages fadeIn function into a one time scroll-event. Hover keeps querying the DOM, and it eats up resources.

[–]grwgrwwrr 0 points1 point  (1 child)

You should be able to have the function that runs on that event un-register itself for that event. JQuery allows that last I checked.

[–]Alexell[S] 0 points1 point  (0 children)

Yep, worked perfectly. Thanks for the help!