Created
February 10, 2016 16:23
-
-
Save 8lane/81b57b11257dbe8a406a to your computer and use it in GitHub Desktop.
ANW DescribeProject Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| ADDING DATA | |
| • ["data-style-id"] attribute to the ID of the category being searched | |
| • ["data-style-name"] attribute to the value being searched (should be the same as the text inside the <a>) | |
| • ["data-mood-id"] & ["data-mood-name"] same as above but set onthe 2nd level <ul> items | |
| --> | |
| <li> | |
| <a data-style-id="5" data-style-name="Grace" data-label="" class="hasSubMenu" href="/">Ambient / New Age</a> | |
| <ul data-level="2"> | |
| <li><a data-mood-id="11" data-mood-name="happy" href="/">happy</a></li> | |
| <li><a data-mood-id="11" data-mood-name="happy" href="/">happy</a></li> | |
| <li><a data-mood-id="11" data-mood-name="happy" href="/">happy</a></li> | |
| </ul> | |
| </li> | |
| <!-- | |
| PLACEHOLDERS - if the value of the "dropdowns" should appear differently than the selected option, there's an optional | |
| placeholder data attribute. Example below. | |
| --> | |
| <li> | |
| <a data-placeholder="PLACEHOLDER1" data-style-id="5" data-style-name="Grace" data-label="" class="hasSubMenu" href="/">Ambient / New Age</a> | |
| <ul data-level="2"> | |
| <li><a data-placeholder="PLACEHOLDER2" data-mood-id="11" data-mood-name="happy" href="/">happy</a></li> | |
| <li><a data-placeholder="PLACEHOLDER3" data-mood-id="11" data-mood-name="happy" href="/">happy</a></li> | |
| <li><a data-placeholder="PLACEHOLDER4" data-mood-id="11" data-mood-name="happy" href="/">happy</a></li> | |
| </ul> | |
| </li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment