Hi!

I don't know exactly what you're looking for... The navigation that you describe below is only one level (with no sub categories), for that using a dropdown menu isn't all that common. Anyways dropdowns are most commonly achieved using CSS (see http://www.alistapart.com/articles/dropdowns) to style a unordered list (just like the code Sean Cribbs gave you would have done). However, it seems like you'd rather specify the menu items manually (Sean's code would automatically have created the navigation based on your site three).

If you manually want to specify the navigation I'd recommend using the <r:navigation> tag. In general I'd suggest that you look through the comments in the Radiant code for more in depth explanations, since the wiki documentation isn't all that complete: http://github.com/radiant/radiant/tree/master/app/models/standard_tags.rb

Don't know exactly what you needed to know, but hope this helps. Good luck!

  cheers, Simon


On Jan 10, 2009, at 22:11 , Kelly Torian wrote:

I am also VERY new to Radiant and my first project has a painfully tight deadline requiring dynamic drop downs. I have a bout 48 hours to figure
this out and have reached extreme frustration with the wiki
documentation.

I understand and appreciate the simplicity of Sean's contribution below:

Sean Cribbs wrote:

<r:find url="/">
<ul>
<r:children:each>
 <li><r:link/>
   <r:if_children>
   <ul>
     <r:children:each><li><r:link /></li></r:children:each>
   </ul>
   </r:if_children></li>
</r:children:each>
</ul>
</r:find>


My issues is figuring out how to apply it to my site. I currently have the main navigation in a snippet that is called from the Normal Layout.
All but two of the main menu items required drop downs. The code I am
currently using is  below:

<r:link><a href="/">HOME</a></r:link>|
<r:link><a href="/about-the-tour/">ABOUT THE TOUR</a></r:link>|
<r:link><a href="/rider-area/">RIDER AREA</a></r:link>|
<r:link><a href="/our-partners/">OUR PARTNERS</a></r:link>|
<r:link><a href="/post-news-community/">POST-NEWS
COMMUNITY</a></r:link>|
<r:link><a href="/media-room/">MEDIA ROOM</a></r:link>|
<r:link><a href="/about-us/">ABOUT US</a></r:link>

Hate to be so publicly naive, but would be extremely grateful for any
assistance.

-Kelly
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to