jQuery-Stickem icon indicating copy to clipboard operation
jQuery-Stickem copied to clipboard

Offset doesn't seem to have any effect

Open jeromecovington opened this issue 11 years ago • 3 comments

I am passing offset: 100 into the stickem function but it doesn't seem to have any effect on when the stickit class is added. I am trying to satisfy the use case of having a fixed nav at the top of the page. Anybody else run into this?

jeromecovington avatar Nov 25 '14 19:11 jeromecovington

Do you have a link?

davist11 avatar Dec 01 '14 15:12 davist11

Same here, sticky = $('.tab980').stickem({offset: 60});

doesn't make 60px offset

tatof avatar May 18 '15 12:05 tatof

sorry it does work! only need to fix css top: 60px myself :) and the script does the rest!

tatof avatar May 18 '15 14:05 tatof