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

Fixed position using skrollr constants? #33

Open
moofin opened this issue Jan 13, 2014 · 3 comments
Open

Fixed position using skrollr constants? #33

moofin opened this issue Jan 13, 2014 · 3 comments

Comments

@moofin
Copy link

moofin commented Jan 13, 2014

Hiya, I had a look at the previous fixed position menu issue but it doesn't really apply to me as I can't use percentages as depending on the screen size it will vary.

I currently have a div that is using constants. Is there anything like data-menu-_foobar="200"? Am I able to achieve something like this?

@Prinzhorn
Copy link
Owner

There is currently nothing comparable for skrollr-menu. There is the handleLink function, but if you use it, you need to calculate everything manually.

@moofin
Copy link
Author

moofin commented Jan 13, 2014

When you say calculate everything manually would that be including my original constants (e.g. data-_foobar-50="background-position:!0 0px;").

@Prinzhorn
Copy link
Owner

No. It's a skrollr-menu option. It won't affect skrollr keyframes.

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