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 )

76438 put(a) pogledan, 14 odgovor(a) 26.8.2011. 0:49:23Kreirao(la) VanDemon

Povezane teme

VanDemon

VanDemon

30.8.2011. 23:14:15
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/
Ovaj sadržaj još nije ocijenjen. 
141 Reputacija 20 Ukupno objava
khorvat

khorvat

31.8.2011. 7:16:05
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
VanDemon

VanDemon

31.8.2011. 7:48:10
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?
Ovaj sadržaj još nije ocijenjen. 
141 Reputacija 20 Ukupno objava
khorvat

khorvat

31.8.2011. 8:42:23
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

Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
1 2