Solved

Possible to expand a horizontal spry menu from a link on the page?

Posted on 2011-09-26
4
263 Views
Last Modified: 2012-05-12
Hello - I have a horizontal spry menu on my page (working well thanks the experts here!)  I want to expand a menu item from a link on the page.  Is that possible?
0
Comment
Question by:sjsimpson2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 36671191
You can, but it's not the easiest thing in the world to do.  What you would want to do is use addClass() to change the class of the top level menu item's <a> tag to add MenuBarItemSubMenuHover.  That should open the submenu...

http://labs.adobe.com/technologies/spry/samples/utils/setclass.html
0
 

Author Comment

by:sjsimpson2000
ID: 36709691
Thanks, jason1178.  I'll try to play with it today if I get the time.  Would you know of any examples out there that I might reference?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 36714239
No, sorry.  I won't use Spry menus in production precisely because of the lack of easy modification to the base functionality.  Grab any jquery-based menu system and it will be a lot easier to do stuff like this.
0
 

Author Closing Comment

by:sjsimpson2000
ID: 36942909
Thanks - I've not had time to look at this anymore, but now I know where to start.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question