Is it possible to create a Flyout Menu

Topics: Developer Forum
Jan 26, 2009 at 3:16 PM
Edited Jan 26, 2009 at 3:57 PM
Hi,

Is it possible to make the site menu do a fly out similar to http://www.skmmenu.com/menu/Examples/
 

Thanks,
Keith

*update: I got it to work. I used the the N2 SitemapProvider to make my menu do the flyout.

<

 

siteMap defaultProvider="PublicSiteMap">

 

<

 

providers>

 

<

 

add name="PublicSiteMap" type="N2.Web.PublicSiteMapProvider, N2" startPageIsRoot="true"/>

 

</

 

providers>

 

</

 

siteMap>

 

Coordinator
Jan 26, 2009 at 6:55 PM
I took a look at the skmMenu documentation and it looks like you can set the datasource to an XmlDocument. You'd have to format it in an appropriate format that skmMenu likes. It might also be possible to add skm MenuItem to the Menu's Controls collection.

Anyway, the component looks slightly old. You might have more luck rendering the pages in an unordered list and using some jquery plugin to make it into a menu.
Jan 28, 2009 at 1:58 PM
Thanks libardo. Yep, skmMenu is old. I posted that link to show what i wanted to accomplish. I was able to make the menu work by just using an ASP.NET menu coupled with the PublicSiteMap provider found in the web.config