skrollr-stylesheets icon indicating copy to clipboard operation
skrollr-stylesheets copied to clipboard

Debugging

Open Tominator89 opened this issue 10 years ago • 1 comments

Hello i modified something on my page that will skrollr stylesheets stop working. I have to debug it because i realized the problem weeks later.

  • I have no javascript errors
  • the skrollr files seems to be in the right place.(skrollr-stylesheets before skrollr itself near the page bottom, attribute data-skrollr-stylesheet is applied to my css file in head section
  • The "-skrollr-animation-name: ;" css part is also applied to the correct item.
  • skrollr.init(); is fired

The data attributes are not applied to the target element. Have you got an advice for me how this can be debugged best?

Tominator89 avatar Aug 08 '14 11:08 Tominator89

Have you got an advice for me how this can be debugged best?

Use Chrom(e|ium). Set breakpoints (e.g. here https://github.com/Prinzhorn/skrollr-stylesheets/blob/master/src/skrollr.stylesheets.js#L187). Find out stuff.

Prinzhorn avatar Aug 13 '14 11:08 Prinzhorn