Changing Dimensions of menu items in menubar

I wanted to make the menu items have an auto width instead of
a fixed with. So I followed the direction in the Help file under
"Change dimensions of menu items" to change the .css. The menu
items now seem to stretch to fit the width of the text, but the
secondary menus now display horizontally instead of vertically
below the top menu item. This is only in Explorer 6 & 7. Works
fine in Firefox.

Hi Kayo,
You'll want to checkout these samples:
http://labs.adobe.com/technologies/spry/samples/menubar/AutoWidthHorizontalMenuBarSample.h tml
http://labs.adobe.com/technologies/spry/samples/menubar/AutoWidthVerticalMenuBarSample.htm l
to see what browser bugs you're up against. :-)
--== Kin ==--

Similar Messages

  • Changing only 1 menu item background color in a VerticleSpryMenu

    Im working on this Verticle Spry Menu Bar (seen below) . I'm trying to figure out how to change the 'Get Started!' Item to be a different color than orange.  Home, Support and Get Started!  are clickable links with no submenu whereas the other menu items have submenus. Is there a special code to customize just Get Started!. Through CSS stylesheet I can get Get Started to change color  but then Home and Support also change color and I dont want that.
    Thanks

    For all menu items use the following selectors
    ul.MenuBarVertical a
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
    For menu items with sub menu items use the following selectors to override the above
    ul.MenuBarVertical a.MenuBarItemSubmenu
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
    Gramps

  • Is it possible to change "link" context menu items' order (I want "open in new window.." be the first) ?

    I made an upgrade FF from v3.6.xx to v17.0.x and found that "Link" context menu items' order is not the same.
    v3.6 menu looks as following: 1."Open Link in new Window", 2."Open Link in new Tab",
    v17.0 menu items' order is opposit 1."Open Link in new Tab",2."Open Link in new Window",
    All other items' position are uninteresting for me.
    How to swap this two upper items in "link" context menu?

    Both ways are useful:
    * Menu Editor [https://addons.mozilla.org/en-US/firefox/addon/menu-editor/ https://addons.mozilla.org/en-US/firefox/addon/menu-editor/]
    'Drag-n-drop' in editor window is working.
    * Editing "userChrome.css" [https://support.mozilla.org/en-US/questions/791244?page=2#answer-161497 https://support.mozilla.org/en-US/questions/791244?page=2#answer-161497] .
    For my Windows XP path looks: "C:\Documents and Settings\%account%\Application Data\Mozilla\Firefox\Profiles\%random_name%\chrome\userChrome.css".

  • Ownership changes on workspace menu items

    I'm using Trusted Solaris 8 7/03 and I found that if I add an item to the workspace menu everytime I log in the ownership of the file I added to the menu changes from what it should be (root) to owned by me. Does anyone know how to stop this change in ownership?

    I'm using Trusted Solaris 8 7/03 and I found that if I add an item to the workspace menu everytime I log in the ownership of the file I added to the menu changes from what it should be (root) to owned by me. Does anyone know how to stop this change in ownership?

  • Changing Dimensions of spry horiz menu: problems

    You change the dimension of menu items by changing the width
    properties of the menu item’s li and ul tags.
    Locate the ul.MenuBarVertical li or ul.MenuBarHorizontal li
    rule.
    Change the width property to a desired width (or change the
    property to auto to remove a fixed width, and add the property and
    value white-space: nowrap; to the rule).
    Locate the ul.MenuBarVertical ul or ul.MenuBarHorizontal ul
    rule.
    Change the width property to a desired width (or change the
    property to auto to remove a fixed width).
    Locate the ul.MenuBarVertical ul li or ul.MenuBarHorizontal
    ul li rule:
    Add the following properties to the rule: float: none; and
    background-color: transparent;.
    Delete the width: 8.2em; property and value.
    Ok: My sub menu is now wrong. It renders horizontally,
    instead of vertically, and the sub-sub menu also.
    Any one see any problems with the above instructions?

    Actually, the problem is that the list contains three sets of
    instructions, each beginning with the word 'Locate'. What should be
    done is label each instruction set and then make the actual
    instruction set a subsidiary ordered list, e.g.
    1. Select Width or Auto, with Nowrap:
    1. Locate ...
    2. Change ...
    2. Select Width or Auto, without Nowrap
    1. Locate ...
    2. Change ...
    3. Add rules
    1. Locate ...
    2. Add ...
    3. Delete ...
    What you need to do is select ONE of the choices, and then
    play with it a bit.
    Incidentally, I noticed that IE does not like the transparent
    background, consequently I had to create a rule specific to IE for
    the CSS rules to work.
    Skip Keats

  • How do I change stills with each menu item selected?

    Hi all.
    I am trying to create a menu (with 10 items) which contains one single dropzone box, which will contain a still that changes with each menu item selected (instead of 10 different stills next to each item).
    I have absolutely no idea how to achieve this! Do I create a different menu for each item? Is there a way to have a slideshow within the menu that changes with each item selected?
    Please help!
    Many thanks
    James

    THe way to do what you want to do is layered menus which have some limits
    http://dvdstepbystep.com/layersover.php
    What you would do is change the item that appears in the same section - in other words there would be ten layers with a diffrerent picture in the same exact spot, the rectangle buttons sections do not need to be over the picture section
    http://dvdstepbystep.com/Layers_Example.dmg is a project that does changing images.

  • Dashed rule between menu items nested inside an accordion panel widget in Muse?

    I have a vertical menu widget nested inside an accordion panel widget and I want a dashed rule under each menu item. I already know I can have a solid rule by assigning a stroke to just the bottom of each menu item container. 
    I manually created dashed rules by "step and repeating" a 1px black square followed by 2px of space to a 380px width. I positioned these dashed rules under each menu item and grouped them with the menu. Then I placed the menu widget with the dashed rules into the content container for the accordion panel.  The menu expands and collapses in the Preview mode but the dashed rules don't show up.
    Muse CC 2014, iMac OS10.9

    The link again is I forgot to add http to the link before, but it should have worked.
    http://www.lipowiec.org/test/index.php
    a) used Dreamweaver to create new site selected 1 column, elastic, centered, header, and footer
    b) used spry to add horizontal menu to header
    c) followed instructions from Spry Help
    http://livedocs.adobe.com/en_US/Spry/SDG/index.html?lang=en_US ->
    working with spry widgets -> working with the menu bar widget -> Customize the dimension of menu items as indicated
    To change the dimension of menu items by changing the width properties of the menu item’s li and ul tags.
    Locate the ul.MenuBarVertical li or ul.MenuBarHorizontal li rule.
    Change the width property to a desired width, or change the property to auto to remove a fixed width, and add the property and value white-space: nowrap; to the rule.
    Locate the ul.MenuBarVertical ul or ul.MenuBarHorizontal ul rule.
    Change the width property to a desired width (or change the property to auto to remove a fixed width).
    Locate the ul.MenuBarVertical ul li or ul.MenuBarHorizontal ul li rule.
    Add the following properties to the rule: float: none; and background-color: transparent;.
    Delete the width: 8.2em; property and value.
    Under IE it's broken, under the other browsers it works.
    There need to be more IE HACKS added.

  • Forms 6i Menu Items not Lauchning (FRM-40010: Cannot read form...)

    Sorry for the newbie issue - I just haven't been able to figure this out...
    I inherited maintenance of a old Oracle Forms Application, I was told it was version 5. And all the source modules were appended with "v05" like form1_v05.fmb, etc. I since discovered that when the users launch it they run against the forms 6i run time - so I guess this means it is actually a forms version 6i application.
    The App has about 20 forms, 20 reports and a menu - and no project.
    I copied all the source files into a working directory, then I created a project with the project builder using the "use all files in the current directory".
    When I run the app ( by drilling down to this app's "logo" form - a splash screen contain our company logo, and a Menu structure it runs fine.
    But just about every menu item I attempt to select ( i.e. MENU->Catagory1->OrderForm or in my case something like MENU->Inbound->Entry/Maintenance) results in no new form launching and the status bar contains the error message like "FRM-40010: Cannot read form order_v05.fmx"
    In the above example the project does contain a order_v05.fmb, and it compiles fine ( in fact a project "build all" generates no errors or warnings ) - my single working directory contain all the source modules ( like fmb's, rdf's and mmb's) and compiled versions ( fmx's, mmx ) . Specificlly the order_v05.fmx is also there.
    So why can't the app find the compiled form compiled in the same project and located in the same directory?
    I also see several ERR files but the only thing the err files contain is a whole lot of lines saying things like " Compiling POST-FORM trigger on form... No compilation errors."
    Any help getting this beast to run would be appreciated.

    I may have a clue as to what is causing the issue, but don't know how to fix it.
    I started poking in the menu items, and the child menu item that is supposed to do something runs some "Menu Item code" like this:
    begin
         hide_window('DLG_MAIN');
    CALL_FORM( 'out_order_v05.fmx'
    , no_hide
    , do_replace
    , no_query_only
    , no_share_library_data );
    show_window('DLG_MAIN');
    end;I made a NEW root menu item, with a new child menu item and set it's "Menu Item code" like this:
    begin
         hide_window('DLG_MAIN');
    CALL_FORM( 'C:\Data\_OraFroms\ITFS_V05\order_v05.fmx'
    , no_hide
    , do_replace
    , no_query_only
    , no_share_library_data );
    show_window('DLG_MAIN');
    end;And when I made this change, my new menu item launched the form, but the original one did not ( notice the only difference is my new menu item gives a fully qualified path to the file name ).
    So it looks like my project is clueless as to it's own home directory - anyone know how I clue it in?

  • ESS - Menu Items & Authorization

    Hi Champs,
    1. Where can I change the ESS menu items in R/3, which I see on the ESS Menu on Web Browser?
    2.I want to make some options editable and others only viewable on the ESS. How to achieve this?
    Any help would be appreciated.
    Rgds
    Gulshan

    Hello Gulshan,
    There are two options - one:
    As per Christopher's response, to create a new service.
    Really this is quite simple - just copy the function group/modules HR_ESS_ADDRESSLIST_nn, HR_ESS_ADDRESSDETAIL_nn (where nn is your molga).
    You will need to make either a new entry or a change in table T77WWW_SC - I would suggest a new entry for a ZPZ02 transaction - copy pz02 to zpz02 and when you run the transaction it will call the function module you specify.
    In the new Z function modules, make some changes so that depending on the type of employee (perhaps this is dependent on employee group or payroll area, or something!) certain buttons are hidden or not.
    Check that this works in the backend by running your new zpz02 transaction.
    When you have got this working you will need to copy the pz02 ITS templates so that they are used by your new transaction.
    However, this is a LOT of hassle for something so simple!
    Suggest that it might be easier just to mod the standard function module to implement handling of T588M_ESS. And then configure this table to hide/show fields in the same way as standard infotype screen control.
    Think if you do a search you might find some doco on how to do this.
    Good luck,
    Chris

  • MenuBar Menu Items Events?

    Hi
    I have just started playing with Flex 2 Builder and I have
    built a simple
    app to get my feet wet. I have a menubar at the top of my app
    with three
    menus each with three choices
    MENU1
    SUB1A
    SUB1B
    SUB1C
    MENU2
    SUB2A
    SUB2B
    SUB2C
    MENU3
    SUB3A
    SUB3B
    SUB3C
    My problem is that there does not seem to be a way to access
    the sub menu
    items and assign events to each. When I put an onClick event
    in the
    <mx:MenuBar> it fires regardless of which submenu item
    I choose.
    Is there a way, or what is the best way, to create individual
    events for
    each submenu? Additionally, can I add additional elements to
    my <menuitem>
    tags such as <menuitem label="SUB3A" someValue="XYZ">
    and then access
    "someValue" from whatever event I get to fire when the sub
    menu is clicked?
    Thanks
    Rich

    Hi --
    Thanks for this example. This should really help me out.
    Rich
    "ntsiii" <[email protected]> wrote in message
    news:e8bnbt$2lk$[email protected]..
    > When the event fires, the event object passed into the
    handler can be used
    > to
    > access the item that created the menu option. You can
    use information in
    > the
    > item to decide what action to take. Here is a simple
    example:
    >
    > Tracy
    >
    > <?xml version="1.0"?>
    > <!-- Simple example to demonstrate the MenuBar
    control. -->
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > creationComplete="initCollections();" >
    >
    > <mx:Script>
    > <![CDATA[
    >
    > import mx.events.MenuEvent;
    > import mx.controls.Alert;
    > import mx.collections.*;
    >
    > [Bindable]
    > public var menuBarCollection:XMLListCollection;
    >
    > private var menubarXML:XML =
    > <root>
    > <menuitem label="Menu1">
    > <menuitem label="MenuItem 1-A" data="1A"/>
    > <menuitem label="MenuItem 1-B" data="1B"/>
    > </menuitem>
    > <menuitem label="Menu2">
    > <menuitem label="MenuItem 2-A" type="check"
    > data="2A"/>
    > <menuitem type="separator" />
    > <menuitem label="MenuItem 2-B" >
    > <menuitem label="SubMenuItem 3-A" type="radio"
    > groupName="one" data="3A"/>
    > <menuitem label="SubMenuItem 3-B" type="radio"
    > groupName="one" data="3B"/>
    > </menuitem>
    > </menuitem>
    > </root>;
    >
    > // Event handler for the MenuBar control's change event.
    > private function menuHandler(event:MenuEvent):void
    > {
    > Alert.show("Label: " + event.item.@label + "Data: " +
    > event.item.@data, "Clicked menu item");
    > }
    >
    > // Event handler to initialize the MenuBar control.
    > private function initCollections():void
    > {
    > menuBarCollection = new
    > XMLListCollection(menubarXML.children());
    > }
    > ]]>
    > </mx:Script>
    >
    > <mx:Panel title="MenuBar Control Example"
    height="75%" width="75%"
    > paddingTop="10" paddingLeft="10">
    >
    > <mx:MenuBar labelField="@label"
    change="menuHandler(event);"
    > dataProvider="{menuBarCollection}" />
    >
    > </mx:Panel>
    > </mx:Application>
    >
    >

  • How can I change the state of a runtime menu item programati​cally?

    Using LabView 6.1, I would like to change the state of the runtime menu item "Operate/Print at completion".
    The goal here is to print the VI front panel according to the operator choice (OK ->print, Cancel ->don't print)
    In a first release, I put a Stop function at the dialog output (activated by the cancel button) but this function stop the complete application and my idea where to stop only the VI in which the dialog is running.
    In a second release, I've tried to use the "Application
    control/Menu" but I receive every time an error:
    Error 88 occured at Cannot modify application menu item in the printtest.vi.
    Possible reasons: LabView, Runtime menu error...
    Any suggestion is appreciated.
    Re
    gards,
    phidu

    Instead of using the print at completion option, print the VI programatically if the user selects to print...open a reference to the VI you want to print and use an invoke node to print vi to printer.
    Alternatively create another VI with a layout optimized for printout, set it to print at completion and run and load the data into that VI if and only if the user OKs the print...
    Mads
    MTO

  • Is there a way to change the list of menu items?

    I'm using Pages 5.5.2. The "save as" command has been deleted from the File menu and replaced with "Duplicate". Is there a way to restore "save as" as a menu item? I've discovered how you can do it by keystroke but miss it in the drop down menu.

    You will find that by pressing the option key when you are in the File menu, that Duplicate changes to Save As… .

  • How do I change the order of context menu items in Private Windows?

    In the context menu that appears when I right-click on a link, I prefer to have "Open Link in New Window" at the top of the menu instead of "Open Link in New Tab". I have added code to userChrome.css to make that switch:
    #context-openlink {
    -moz-box-ordinal-group: 1 !important;
    #contentAreaContextMenu > * {
    -moz-box-ordinal-group: 2;
    Firefox version 20 added Private Browsing Windows. The above code still works for the non-Private windows, but doesn't affect the Private Windows, so in those I still have "Open Link in New Tab" at the top of the context menu, and "Open Link in New Private Window" as the second item. Is there a way to change the order of these menu items in Private Windows?

    Clarification: In the code snippets above, the "1."s are supposed to be pound-signs; they got auto-reformatted incorrectly.

  • How to change the menu item text

    Hi,
    in cj20n transaction, for one of menu item i have to change the text of the item. How can i change the text.
    Regards,
    Ram

    HI,
    First try to find the exists available for that transaction and find menu exit in that exist. Once you find the exits create project in tcode cmod then go to that menu exit.
    Just double click on that exit, it will show the existing text, if you want to change the text then click on change mode, it will asks for package, you have to provide package then give the text whatever you want and save it and activate it.
    The new text will be available in your transaction.
    Regards,
    Venu

  • Changing runtime menu item names dynamically in executable

    I want to change the language of my application dynamically. In the run-time menu i do this by changing de item names (leaving de item tags the same) In Labview (6.1) this works but in a application builder build executable this don't work.
    Attachments:
    demo_vi.jpg ‏55 KB
    demo_exe.jpg ‏55 KB

    How are you changing the runtime menu dynamically? Are you reading the menu settings from a file? If so you might be losing the path to the file in the executable.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Maybe you are looking for