Advertisement
Guest User

Untitled

a guest
Mar 4th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. <select name="mobile-menu" class="navigationSelector" id="mobile-menu">
  2. {% for link in linklists.main-menu.links %}
  3. {% capture child_list_handle %}{{ link.title | handleize }}{% endcapture %}
  4. {% if linklists[child_list_handle].links != blank %}
  5. <option value="{{ link.url | escape }}">{{ link.title | escape }}</option>
  6.  
  7. {% for childlink in linklists[child_list_handle].links %}
  8. <option value="{{ childlink.url | escape }}"> &nbsp;&gt; {{ childlink.title | escape }}</option>
  9. {% endfor %}
  10.  
  11. {% else %}
  12. <option value="{{ link.url | escape }}">{{ link.title | escape }}</option>
  13. {% endif %}
  14. {% endfor %}
  15. </select>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement