Skip to content

Replies

0
Anton Staykov
Anton Staykov answered on Dec 4, 2008 8:38 AM

Hi,
Hm, it's tough one. I assume you are right about the scroll bar not being part of menu. Although that scrollbar is actually part of a DIV which constructs the menu, so this should be some browser erronous behavior – clicking on scrollbar not being a click on DIV that this scrollbar belongs to. Or may be it is intended.

0
Anton Staykov
Anton Staykov answered on Dec 3, 2008 8:54 PM

Hello Steve,

There a hack you can play-with for scrolling. You can define a CustomRule (this is property of IslandStyle) within the IslandStyle. This is a custom CSS rule. So … if you play around with CSS you can add some commands like: "overflow-x: hidden; overflow-y: auto". This will bring you vertical scrollbar if there are items to scroll. This will be a standart browser scrollbar. Still you can add to that custom rule some definitions like: 

SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #000000;
SCROLLBAR-SHADOW-COLOR: #000000;
SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #000000;
SCROLLBAR-DARKSHADOW-COLOR: #000000; 

Well, choosing colours of your choice. This will style the scroll bar.

Hope this helps

0
Anton Staykov
Anton Staykov answered on Dec 3, 2008 7:59 AM

Hello again,
Actually there is a property of the UltraWebMenu, called IslandStyle. There you can define your widths and heights. However, it is defining strict widths and heights, instead of max width and max height.

It can be used in the following way:

<ignav:UltraWebMenu id="MyMenu" runat="server" WebMenuTarget="PopupMenu">
  
<IslandStyle Width="250px" Height="120px" />
    
<Items>
    
….

 Hope this helps

0
Anton Staykov
Anton Staykov answered on Dec 2, 2008 8:08 AM

Hello,

Unfortunatelly you can only control the absolute X / Y (left / top) placement for the popup. The menu then automatically will occupy entire possible visible space and scroll rest of the items (if there are any more items to be displayed).
For showing the WebMenu you can use client side function igmenu_showMenu(menuName, event, x, y), which is described in our online documentation