Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

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

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
sjsimpson2000
Asked:
sjsimpson2000
  • 2
  • 2
1 Solution
 
Jason C. LevineNo oneCommented:
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
 
sjsimpson2000Author Commented:
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
 
Jason C. LevineNo oneCommented:
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
 
sjsimpson2000Author Commented:
Thanks - I've not had time to look at this anymore, but now I know where to start.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now