MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

menupart in custom navigation.ascx  (Mono Support )

Viewed 43407 time(s), 14 post(s) 8/26/2011 12:49:23 AMby VanDemon

Related topics

VanDemon

VanDemon

8/30/2011 11:14:15 PM
i think if any of the sub-menu items exceed the width of the main nav then they should expand to the left?

http://imageshack.us/photo/my-images/64/screenshothover2.png/
This content has not been rated yet. 
141 Reputation 20 Total posts
khorvat

khorvat

8/31/2011 7:16:05 AM
Hi,

  this is a simple CSS + jQuery menu, it purpose is to provide the users to simple style the menu through the mark-up and CSS. For any other purpose such as screen boundary detection so your menu won't be cut off etc. you should use the MonoXMenu Web part that has all these benefits and has few of the predefined skins.

Please let me know if you need further assistance.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
VanDemon

VanDemon

8/31/2011 7:48:10 AM
then i revert to my original question.... and reply post #4...

you have an example of leftpartzone there.... but whenever i try to add that i get errors i think because i already have used the leftpartzone in my main content area.... i need a webpartzone for the navigation.... what would that code look like to hold the Monox menu?
This content has not been rated yet. 
141 Reputation 20 Total posts
khorvat

khorvat

8/31/2011 8:42:23 AM
Hi,

  you need to open a Default.master in the /MasterPages folder and do the following:

Change the 
<MonoX:Menu runat="server" ID="ctlMenu" UseSpanElementsInMenuItems="true" SelectedItemCssClass="selected" CacheDuration="600" />

To
<portal:PortalWebPartZoneTableless ID="navigationWebPartZone" runat="server" Width="100%" ChromeTemplateFile="Standard.htm" HeaderText='Navigation zone'>
  <ZoneTemplate>
      <MonoX:Menu runat="server" ID="ctlMenu" UseSpanElementsInMenuItems="true" SelectedItemCssClass="selected" CacheDuration="600" />
   </ZoneTemplate>
</portal:PortalWebPartZoneTableless>

Now you can remove the simple menu and add the more advance menu (MonoXMenu). Few notes about the MonoXMenu, after you add the menu to the navigation zone you will have a default skin for the Menu, you need to go to Webpart properties and change the skin of the Menu. There are few skins that are similar to the MonoXMenuSimple (WebBlue, Web20, Office2007, etc.) and note that after you change the skin it will not be applied immediately, you will need to refresh the page (We have fixed this in upcoming release) .

Note: Because you will add a portal zone in the MonoX demo some styling modifications may be required.

Regards

This content has not been rated yet. 
15993 Reputation 2214 Total posts
1 2