Is possible to render <a> tag before <li> tag

22 views
Skip to first unread message

thef...@gmail.com

unread,
May 30, 2015, 5:22:49 PM5/30/15
to simple-n...@googlegroups.com
Hi,

By default, lists are created like so:
<ul>
<li><a></a></li>
<li><a></a></li>
</ul>

Is it possible to configure Simple Navigation to create lists with <a> tags on the outside of <li> tags? Like so:
<ul>
<a><li></li></a>
<a><li></li></a>
</ul>

Thanks!!!

thef...@gmail.com

unread,
May 30, 2015, 5:33:01 PM5/30/15
to simple-n...@googlegroups.com, thef...@gmail.com
Nevermind, I decided to re-write my code to make this unnecessary.

Thanks!

Andi Schacke

unread,
Jun 1, 2015, 11:25:24 AM6/1/15
to simple-n...@googlegroups.com
Glad you could rewrite the code. The common way of rendering navigations is a-tag inside li-tag... If you ever need some other HTML, you can easily write a custom renderer...

Kind regards
Andi

--
You received this message because you are subscribed to the Google Groups "simple-navigation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-navigat...@googlegroups.com.
To post to this group, send email to simple-n...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-navigation.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages