mbmufffin/FlexSlider — Issue #49: .slider hardcoded in plugin
Author: jjroelofs
Created: 2012-01-06 12:27:26+00:00
State: open

I don't think it's good that the .slides class is hardcoded in. Sometimes the ul that contains slides may be coming from a CMS or external system and you can't control the markup.

Other times you may have a list of slides that already has a semantic class name and adding a .slides class would reduce the semantic meaning of your document. If I could pass in ".tweets" as an argument to find the slides that would be better.

Or, if we're still keeping the ul parent element hardcoded into the plugin, it's also an option to just select the first-child

tag starting from the element on which Flexslider is invoked.