Two Behaviors on one element
Closed this issue · 0 comments
dickesB2018 commented
Hello,
I wanted to ask if it's possible to have two behaviors on one element. I tried selecting an element two times in the jScrollability function and it appears that the second use overwrites the first use. I wrote the Code that i tried below.
Gratefull for any help. Cheers
{ 'selector': '.selector', 'start': start1, 'end': end1, 'fn': { 'opacity': { 'start': 0, 'end': 1, 'unit': '' } } }, { 'selector': '.selector', 'start': start2, 'end': end2, 'fn': { 'opacity': { 'start': 1, 'end': 0, 'unit': '' } } },