nckprsn / scrollme

A jQuery plugin for adding simple scrolling effects to web pages.
1.47k stars 319 forks source link

Settings in JS instead of data-attrs #33

Open sheriffderek opened 8 years ago

sheriffderek commented 8 years ago

I like the ability to set functionality like this in the data-attrs, much like the metafizzy stuff / but when working on a project that already has 4 of 5 data-attrs on things / the markup gets pretty intense.

I would request a way to use this plugin from an external JS file / as an option. No idea how easy that would be to expose - but if it were possible / it could be very cool.

vwasteels commented 7 years ago

Is there any way to achieve this with the actual code structure ?