You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: