Solved

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

Posted on 2011-09-26
4
264 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

691 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