Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Debugging #44

Open
Tominator89 opened this issue Aug 8, 2014 · 1 comment
Open

Debugging #44

Tominator89 opened this issue Aug 8, 2014 · 1 comment

Comments

@Tominator89
Copy link

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?

@Prinzhorn
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants