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
{{ message }}
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.
For the selectors, I'm trying to implement code that's generated from a CMS. I have an extra DIV inside my LIs before I get the H2 and content DIV.
Also, H2 may not always be appropriate. My content is less valuable, and I'd prefer to make it a H4.
Flexibility is always good, and I don't think it would be much more work. It just opens up options. Just because you and I can't think of other semantic structures, doesn't mean they don't exist.
It would be nice to be able to specify the selectors, rather than relying on a particular HTML structure. So something like this as the defaults:
{
slideEl : $(this).children('li'),
headerEl : $(this).find('h2'),
contentEl : $(this).children('li').children('div')
}
Also, I'm not sure why you need the DIV around the OL. Could the default structure not just be the following?
ol
-li
--h2
--div
The text was updated successfully, but these errors were encountered: