Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 4th, 2013  |  syntax: None  |  size: 0.72 KB  |  views: 58  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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>
clone this paste RAW Paste Data