Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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 …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now