0

Here is the code:

<div id="TBRefineHead">
<h3>By&nbsp;Location</h3>
<ul>
<li><span class="refineDet"><a href="Search.aspx?ModuleID=643&amp;keywords=test&amp;multiSite=False&amp;Tax=41">Australia wide&nbsp;(1)</a></span></li>
<li><span class="refineDet"><a href="Search.aspx?    ModuleID=643&amp;keywords=test&amp;multiSite=False&amp;Tax=27">Location&nbsp;(1)</a></span></li>
</ul>
<h3>By&nbsp;Subject Matter</h3>
<ul>
<li><span class="refineDet"><a href="Search.aspx?ModuleID=643&amp;keywords=test&amp;multiSite=False&amp;Tax=17">Air Quality&nbsp;(1)</a></span></li>
</ul>
</div>

Is there a way to make them into two drop-down select lists?

<select>
<option></option>
<option></option>
<option></option>
<option></option>
<option></option>
</select>
Simpledog
  • 51
  • 7

2 Answers2

0

Use CSS. Have a look at this tutorial for making dropdown menus.

Kevin Chavez
  • 949
  • 1
  • 11
  • 27
  • Hi there, thanks for the help, what about i want to make it look like the dropdown selected look and feel: – Simpledog Dec 06 '12 at 01:32
  • Well... I'd say use the select tags? Are you using this on a form or just for navigation? I don't think there is an easy way to give that sort of functionality to a
      without javascript, and even if the form was recreated,
    – Kevin Chavez Dec 06 '12 at 03:55
  • hi Kevin9794, i want to use it as a dropdown list but not nav. Basically is something like this: http://jsfiddle.net/bmgonzal/SkGDq/7/ but it wasn't work... – Simpledog Dec 06 '12 at 04:33
  • I suggest you use items. Have a look here: http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/ – Kevin Chavez Dec 06 '12 at 06:36
  • As for using
      , you could have a look here http://v2.easy-designs.net/articles/replaceSelect/
    – Kevin Chavez Dec 06 '12 at 06:39
  • And for a kind of inbetweenish method, implementing both, check this article on the always handy css-tricks.com: http://css-tricks.com/convert-menu-to-dropdown/ – Kevin Chavez Dec 06 '12 at 06:39
0

refer to this, can get some idea from it How do I add options to a DropDownList using jQuery?

Community
  • 1
  • 1
Se0ng11
  • 2,303
  • 2
  • 26
  • 45