Hi, I have this data-attribute:
data-_topoffset-top-top, where topoffset value was dynamically calculated by a function and passed via constants on Skrollr init.
If I understand, with a topoffset value (for example) = 70, the data-_topoffset-top-top must be the same as data-70-top-top. I'm right? Instead it behaves like data--70-top-top.
Hi, I have this data-attribute: data-_topoffset-top-top, where topoffset value was dynamically calculated by a function and passed via constants on Skrollr init.
If I understand, with a topoffset value (for example) = 70, the data-_topoffset-top-top must be the same as data-70-top-top. I'm right? Instead it behaves like data--70-top-top.
I'm doing something wrong?
thx in advance for your reply.