Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. <!--
  2. ADDING DATA
  3. • ["data-style-id"] attribute to the ID of the category being searched
  4. • ["data-style-name"] attribute to the value being searched (should be the same as the text inside the <a>)
  5. • ["data-mood-id"] & ["data-mood-name"] same as above but set onthe 2nd level <ul> items
  6. -->
  7.  
  8. <li>
  9. <a data-style-id="5" data-style-name="Grace" data-label="" class="hasSubMenu" href="/">Ambient / New Age</a>
  10. <ul data-level="2">
  11. <li><a data-mood-id="11" data-mood-name="happy" href="/">happy</a></li>
  12. <li><a data-mood-id="11" data-mood-name="happy" href="/">happy</a></li>
  13. <li><a data-mood-id="11" data-mood-name="happy" href="/">happy</a></li>
  14. </ul>
  15. </li>
  16.  
  17.  
  18. <!--
  19. PLACEHOLDERS - if the value of the "dropdowns" should appear differently than the selected option, there's an optional
  20. placeholder data attribute. Example below.
  21. -->
  22.  
  23. <li>
  24. <a data-placeholder="PLACEHOLDER1" data-style-id="5" data-style-name="Grace" data-label="" class="hasSubMenu" href="/">Ambient / New Age</a>
  25. <ul data-level="2">
  26. <li><a data-placeholder="PLACEHOLDER2" data-mood-id="11" data-mood-name="happy" href="/">happy</a></li>
  27. <li><a data-placeholder="PLACEHOLDER3" data-mood-id="11" data-mood-name="happy" href="/">happy</a></li>
  28. <li><a data-placeholder="PLACEHOLDER4" data-mood-id="11" data-mood-name="happy" href="/">happy</a></li>
  29. </ul>
  30. </li>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement