Spry Menu 1.6.1 vs Spry Menu 2.0 (1.7) aka UI Menubar

I have been working with the original Spry Menu that came with CS5 for some time now.  Slowly I have been learning how to use it, and more importantly, edit it without breaking it.  There are some great articles out there by David Power that I printed out and keep in a folder at my desk.  Great stuff.
Now I want to build a menu that is supported on touch pads like an iPad.  Having spent many hours trying to figure it all out, I found a post that said you had to use the Spry Menu 2.0 version for touch features.  Oops, did not know that.  Having upgraded to the new version in the Widget Browser, customized it for colors and such, I put into a test page.  This is where it went all wrong. 
I have no access to anything in the Properties Selector area.  It’s just blank, no options at.  If I go back to one of my old menus, it works just fine.  So I can't add top or submenu items to the menu like I could in the old version, unless I want to type out the code.  The menu does not display is design view like a finished product.  All I get is a listing of the menu.  I have to display the page in a browser or in live view mode to see it display right.  Which throws the page all out whack and it’s hard to edit with this big long list of text.
So, I guess my question here is.  Does this sound right to everyone?  I saw a posting by Gramps, which makes me think I understand the problem above it true and because of that he sticks to the original version.  I want the touch pad access so I need to upgrade. 
Is there a fix I have not found?  Some code change to make it all happy again?  Should I just dump the idea of using the Spry Menu and use something else?
Thanks to everyone out there who take the time to answer our questions.  I think this is a my very first posting. 

Amy, welcome to our fold.
You have struck the epitome of the problem when using Spry Menu 2.0, it is a beast when one tries to shape and style it outside of the Widget Browser. The markup looks very meek and mild as in
<ul id="MenuBar">
  <li> <a href="#">Home</a></li>
  <li> <a href="#">Entertainment</a></li>
  <li> <a href="#">Politics</a></li>
  <li> <a href="#">Sports</li>
</ul>
but once it is interpreted by the JavaScript, it looks like
<div class="MenuBar  MenuBarLeftShrink" id="MenuBar">
    <ul id="" class="MenuBarView">
    <li class="MenuItemContainer"><a href="#" class="MenuItem MenuItemFirst" tabindex="0"><span class="MenuItemLabel">Home</span></a></li>
    <li class="MenuItemContainer"><a href="#" class="MenuItem" tabindex="-1"><span class="MenuItemLabel">Entertainment</span></a></li>
    <li class="MenuItemContainer"><a href="#" class="MenuItem" tabindex="-1"><span class="MenuItemLabel">Politics</span></a></li>
    <li class="MenuItemContainer"><a href="#" class="MenuItem" tabindex="-1"><span class="MenuItemLabel">Sports</span></a></li>
    <a href="#" class="MenuItem" tabindex="-1"><span class="MenuItemLabel MenuItemLast"></span></a>
  </ul><br class="MenuBarBreak">
</div>
<a href="#">
<!-- rest of markup -->
</a>
</body>
</html>
There are certain aspects that I do not understand without spending time to follow them through. There is no documentation so you are left on your own. When submenu levels are added, the generated markup looks even stranger.
The main problem with the original SpryMenuBar is its lack of support for touch screens; alternatively one could say that the problem lies with touch screens and their lack of ability to register hover events.
This means that if we had a menubar that is not reliant upon hover events, our menubar will work in touch screen clients. In our menu above (that is the one that has not been reformed by JS), there is no hover event. All of the menuitems, being single level, follow the link with a click event. It is when a menuitem has a link as well as submenus that a hover event is required. If we remove the link when a menuitem has submenus, we also remove the need for a hover event and it will work in touch screen devices. To illustrate this
<ul id="MenuBar1" class="MenuBarHorizontal">
  <li><a class="MenuBarItemSubmenu" href="#">Item 1</a> <!-- no link -->
    <ul>
      <li><a href="mylink11.html">Item 1.1</a></li>
      <li><a href="mylink12.html">Item 1.2</a></li>
      <li><a href="mylink13.html">Item 1.3</a></li>
    </ul>
  </li>
  <li><a href="mylink2.html">Item 2</a></li>
  <li><a class="MenuBarItemSubmenu" href="#">Item 3</a> <!-- no link -->
    <ul>
      <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a> <!-- no link -->
        <ul>
          <li><a href="mylink311.html">Item 3.1.1</a></li>
          <li><a href="mylink312.html">Item 3.1.2</a></li>
        </ul>
      </li>
      <li><a href="mylink32.html">Item 3.2</a></li>
      <li><a href="mylink33.html">Item 3.3</a></li>
    </ul>
  </li>
  <li><a href="mylink4.html">Item 4</a></li>
</ul>
There are commercial extensions available that do work within DW as opposed to products from the Widget Browser that do not allow for DW interaction.
Gramps

Similar Messages

  • Using a variable in Spry conditional tests included in a Spry Tooltip

    I have the following code:
    <div spry:region="company" id="tooltip">
    <div spry:repeat="company" spry:choose="spry:choose">
    <div spry:when="'{name}'==memberName">
    <table>
    <tr>
    <td
    align="center"><h2>{name}</h2></td>
    </tr>
    <tr>
    <td align="center"><img src="{headshot}"
    alt="{name}" width="227" height="350" /></td>
    </tr>
    <tr>
    <td align="center">{description}</td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    <script type="text/javascript">
    var tooltip_trigger_one = new
    Spry.Widget.Tooltip("tooltip","#trigger", {showDelay: 200,
    hideDelay: 200, offsetX: 250, offsetY: 200} );
    </script>
    where the variable "memberName" is set elsewhere to a value
    that matches one of the occurrences in the column "name" in the
    dataset "company". I can see, using debugging tools, that the
    variable is being set correctly. But.... when the tooltip is
    triggered, only a small few-pixel square box opens up.
    If, instead of using the variable "memberName" in:
    <div spry:when="'{name}'==memberName">
    I use a string, as in
    <div spry:when="'{name}'=='John Doe'">
    then the code works correctly and I get a large tootlip
    showing me the correct information for that member of the company.
    I have tried different tests (spry:if and spry:test for
    instance), tried various combinations of quotes and parenthesis and
    tried placing the code at various places both inside and outside of
    the <body> -- but always get the same results.
    Is it not possible to test against a variable or am I doing
    something else incorrectly?
    Thanks,
    Janet

    OK.... some progress to report.
    I was setting memberName onmouseover-- which is also the
    trigger for the tooltip-- thusly:
    <p><em onmouseover="memberName='John Doe'"
    id="trigger">John Doe</em></p>
    It seems that the variable is being set, but too late, as the
    trigger has already caused the div... id="tooltip"> to be
    evaluated with "memberName" not equal to any of the names in the
    dataset. I tried using a function call to set "memberName" and
    tried putting the onmouseover in the <p> tag and leaving the
    trigger id in the <em> tag. but neither of those appear to
    change the outcome. "memberName" still appears to be set to the
    value I initialized it to up the the <head> section at the
    time the tooltip <div> is evaluated. Although it is set
    correctly if I check it's value using Firebug after I have
    mouse-overed it.
    Incidentally, using a Firebug breakpoint just before the
    <div spry:when...> and checking the value of memberName was
    how I discovered that "memberName" still seemed to have a value of
    "initialized" which is what I set it to up in the <head>
    section.
    Having written all of this, I am wondering though, shouldn't
    the value of "memberName" be equal to "John Doe" the second time I
    mouseover it? Or, if there are more than one trigger "names" on the
    page, shouldn't "memberName" be equal to the name of the previous
    trigger that I moused-over? And with memberName having a legitimate
    value at that point, shouldn't the tooltip now show the correct
    display information rather than just that little few pixel square
    box that I am getting when I mouse-over the trigger name?
    Clearly there is something that I just am not understanding.
    Janet

  • IPod nano 3rd gen. Apple logo remains on screen and iTunes doesn't recognise it's plugged in, I can't even turn it off. I've tried to get to disc menu but when I hold the 'menu and select button' it reboots it doesn't recognise the select and play button

    iPod nano 3rd gen. Apple logo remains on screen and iTunes doesn't recognise it's plugged in, I can't even turn it off. I've tried to get to disc menu but when I hold the 'menu and select button' it reboots and then doesn't recognise the select and play button to show the tick. I'm helpless.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                 
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • New Menu Item entry in Standard Help Menu

    Hi experts,
    I have added a custom menu item under the standard Help menu of SAP using SE41 (Menu Painter) with pragram name: MENUSYST and status: MEN
    I added the new entry and gave it a function code and activated the function code as well as the interface MENUSYST.
    This worked fine and the entry is visible at the desired location. Now on click of this new entry, I need to open a URL. I had a look at the HELP_START function module but modifying that to call the URL on click of the new menu item, would require an access key.
    Is there any other method available to accomplish the task?
    Regards,
    Reema.

    Hello,
    Basically I need to open a Custom Web Dynpro Application that I have created. Also I need to pass the trannsaction code as a parameter in the URL of the WDABAP Application.
    Pl help me proceed.
    Regards,
    Reema.

  • Air and spry (adding observer and addEventListener to spry regions links to open for a new window)

    I'm trying to add a region.addobserver and addEventListener to spry regions so the links; that come for a external feed, opens in a new(default browser) window when clicked. The on*  events in regions do not work in AIR so, is there a way to do this?
    I have read a lot of the documentation on spry regions, addObserver and the addEventlistener but the samples don't deal with anything about external xml feeds with links in a spry region for a AIR app.
    The closiest i saw was the gallery http://labs.adobe.com/technologies/spry/articles/air/photo_gallery.html,  but it doesn't deal with:
    links,
    in a external RSS feed,
    in the spry region,
    to a new default browser.
    Has anybody  tried this before? Can it be done?
    Ex:
              <div spry:region="rssDataNews" class="SpryHiddenRegion">
              <div spry:state="loading" id="notification2">Loading feeds, please wait ...<img src="assets/spinner.gif"></div>
              <div spry:state="error">Failed to load data! Please try again later</div>
                <table width="100%" spry:state="ready">
                  <tr spry:repeat="rssDataNews" class="{ds_EvenOddRow}" spry:select="mySelectClass">
                    <td class="cellPad">
                    <span style="font-weight:bold">{title}</span><br /><br />
                    {description}<br />
                     <a href="{link}" target="_blank">[Read full article]</a><br /><br />
                    </td>
                  </tr>
                </table>
          <div>
    The <a href > only opens the url in the native AIR window. I need it to open in a web browser.
    Message was edited by: dee12345654321

    About on* events
    They do work, but not as attribute on your HTML elements, you will need to use eventlisteners to attach them on the relevant nodes.
    How: http://labs.adobe.com/technologies/spry/samples/dom_utils/add_event_listener.html
    About links
    Currently in Adobe AIR, its not (easily) possible to open or execute other programs on the users PC. I have seen die hard hacker user Java to get around this limitation. But i suggest you check out the Adobe AIR forum to confirm that you cant open links in the users browser.
    But, Adobe AIR is basically a browser

  • I tried to rent a film on my MacBook but it comes up with, In order to rent, you need to authorise this computer. To authorise this computer, select "Authorise Computer..." from the store menu. Where is the store menu and how do I sort it?

    I tried to rent a film on my MacBook but it comes up with, In order to rent, you need to authorise this computer. To authorise this computer, select "Authorise Computer..." from the store menu.
    Where is the Store menu and how do I authorise my computer?
    Please help.
    Thank you.

    Move the cursor to the very top of the computer's screen, click on Store in the menu bar, and choose Authorize this Computer.
    (115518)

  • How to add menu item in Virtual Folders Actions Menu

    Hi ,
    I am writting a custom component which will add some action on documents and virtual folder.
    I am able to add the menu item for DocInfo, but not able to add Menu Item in Virtual Folders Actions Menu.
    Please help!!
    thanks

    I am able to add the menu item for DocInfo, but not able to add Menu Item in Virtual Folders Actions Menu.What exactly you are trying to modify? If web GUI, it should be following the same principles as your "DocInfo" changes (only the basis service is COLLECTION_DISPLAY). If you are trying to modify Desktop Integration Suite, I'm afraid there is no help (at least, I have not heard that DIS could be modified by custom components).

  • Disable MENU list (grey-out one of Menu List)

    Hi Experts,
    I want to disable disable/grey-out one of the Menu-list
    Ex:
    'Document' is a Menu
    'Display' 'Change' & 'Exit' are 3 lists in 'Document' Menu
    And I need to grey-out  'Change'
    Thanks in Advance.

    Hi Manoj,
    I think EXCLUDING addition with SET PF_STATUS is used in pushbuttons for toolbar.
    Please tell me how to grey-out/disable an ITEM from MENU LIST.
    Ex.
    FILE is menu
    -NEW
    -OPEN
    -SAVE are 3 items in FILE menu
    and I want to grey-out OPEN item.
    Regards,

  • HT3819 I have turned two computers on to home sharing. I am now on this computer wanting to put my music on to this itunes and i know i need to find the other computer in the drop down menu from " Home Sharing " but that menu isnt there on the left?

    I have turned two computers on to home sharing. I am now on this computer wanting to put my music on to this itunes and i know i need to find the other computer in the drop down menu from " Home Sharing " but that menu isnt there on the left?

    If you have the horizontal menu bar showing (File, Edit, View,...), select View, then select Show Sidebar. 
    If the menu bar is not showing, dorp down the menu in the very upper left corner and select show menu bar, then follow steps above.
    Hope that helps.  Good luck.

  • Does anyone know how to use vlookup from a pop up menu to retrieve another pop up menu?

    Does anyone know how to use vlookup from a pop up menu to retrieve another pop up menu?

    BM,
    Pop-Up menu format is not dynamic. It is created in the Cells Inspector and can't be modified contingent upon the state of other cells.
    You could program a table to list the options available for the previous selection, but it wouldn't be in the form of a Pop-Up.
    Jerry

  • Comment faire apparaitre le menu . Je n'ai ni menu ni barre d'outils. merci

    Bonjour,
    Suite à une mauvaise manoeuvre, j'ai supprimé les barres d'outils.
    Je n'ai pas de menu, donc pas de possibilité de les reafficher.
    Comment obtenir l'affichage du menu quand il n'y a plus rien
    Merci

    Pour restaurer le menu voir ce - [https://support.mozilla.com/fr/kb/menu+bar+is+missing barre de menu manquante]

  • Manque du menu " Présentation PDF" dans le menu "Fichier Automatisation"

    Bonjour tout le monde
    je dispose de PS CS5 et je voulais utiliser le menu " Présentation PDF" dans le menu "Fichier > Automatisation" et je ne l'ai pas trouvé... comment faire?
    Merci d'avance.

    Bonjour,
    Cette fonction a été déportée dans Adobe Bridge.

  • Hi I have a mac mini with my TV as a display. MY display includes the taskbar but no menu bar, how do I see menu bar???

    HI
    I have a mac mini with my TV as a display. My display includes the taskbar but no menu bar, how do I see menu bar???

    Make sure you are using a 1080p capable TV.   Some TVs have pixel level video ratio adjustment.  Sometimes that can force the menubar to be visible if it is the only display connected to the machine. Sometimes you have to go to your hard drive's Applications -> System Preferences -> Displays and drag the white bar on top of the display's representation to the other display.  You can only have one primary display with menubar.
    Lastly, for non-1080p capable displays, DisplayConfigX or SwitchResX offer pixel level adjustments through software.

  • "Music" menu option disappeared from main iPod menu after software update

    I need some help. I own the 80GB Video iPod. After performing the most recent update to the iTunes software, I was notified of a software update for the iPod (v1.2.1) so I installed it on the iPod.
    iPod seemed to work fine until I decided to find music using the "Music" menu option on the main iPod menu... well, guess what, there is no "Music" menu option on the iPod. I have:
    Photos
    Videos
    Playlists
    Extras
    Settings
    Shuffle Songs
    ... no "Music" option.
    Any help is appreciated. Thanks,
    Clint
    Dell XPS   Windows XP  

    There is a "Main Menu" option under Settings, that allows you to customize what does and does not appear on the main menu. Just go there and turn "Music" back on.

  • HT5437 Menu button doesn't pull up menu....all I get is the slideshow moving through apple's photos...help!!.

    Menu button doesn't pull up menu....all I get is the slideshow of moving apple's included photos...HELP!!!

    Your Apple TV may have become paired with another remote. Hold the remote close to and pointed at the Apple TV, hold down the menu and Rewind buttons together for 6 seconds or until you see a broken chain icon on screen.

  • Menu CS3 AS2 Sliding Gliding Animated Menu

    Menu CS3 AS2 Sliding Gliding Animated Menu - How can I do
    this?
    Below is video using AS3
    http://www.youtube.com/watch?v=AK27oUrdHkg&feature=PlayList&p=743FE52951ACB46E&index=5

    In order to interact with each object separately, each object will have to be either a movieclip or a button symbol.  As far as stopping everything goes, if you have all this animation on a sungle timeline, then you would just command the timeline to stop where it is using stop();  If each piece is animated on its own timeline, then you need to target each individual timeline and tell each to stop using stop();  If you plan to use actionscript to animate all of these pieces, then you will need to design the code so that the animating code is inhibited when you want everything to stop, possibly making a variable that each animating bit of code uses to decide whether to allow/disallow animation in the form of a conditional (if()).

Maybe you are looking for

  • 19" Samsung 2nd display has "wavy" lines

    I bought a Samsung SyncMaster 906bw as a second display for my 24" iMac. I have it connected via the included VGA cable. The displays resolution is at 1440x900 with 60 hertz. The problem, is that there are wavy lines continuously moving up the displa

  • Search help icon at screen

    Hi all, I have created a search help and linked it to a data element. On the field, on clicking on F4 ,I am getting the required values. But the F4 help symbol which comes beside a screen field ,is not coming on my screen. How can I have that icon be

  • Hardware Inventory Not collecting Reg Keys with the Underscore Character

    We expanded hardware inventory to collect custom reg keys dynamically (from the child keys). While the new WMI class on the machine is able to see all the custom keys, SCCM is not collecting the ones with the underscore ('-') character in the name. D

  • My MBP is running very slow.

    What can I do?

  • IDVD how to set chapters markers according to the day

    iDVD wont let me set chapters markers according to the day of the trip. No good by minutes! I did have markers in the imported iMovie which have been ignored.