Re: Sub-categories Tutorial

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 18, 2013   (RSS)

By petejdg - February 15, 2013

In response to: [url "http://www.interactivetools.com/forum/forum-posts.php?postNum=2201307#post2201307"]Sub-categories Tutorial[/url], ...

I am trying to get this to work with tinynav.js so I need to see if I can have it select and stay on the category in the drop down list.  I see where you are adding in the <b>and </b> but I need my output to be <li  class='selected'> instead of the <b> so it will highlight the category in the dropdown menu.

http://www.downtownsiouxcity.com/mobile/biz-directory-display.php?category=13

For example:

<ul id="nav">

<li class"selected"><a href="?category=1">Attractions</a></li>

<li><a href="?category=2">Shopping</a></li>

<li><a href="?category=4">Lodging</a></li>

<li><a href="?category=3">Dining</a></li>

</ul>

thanks,

pete

By petejdg - February 18, 2013

Works brilliantly.... thank you so much!