Solved

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

Posted on 2011-09-26
4
261 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

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…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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