HighDots Forums  

For a week i request this question here, but no request.

jQuery jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.


Discuss For a week i request this question here, but no request. in the jQuery forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jens
 
Posts: n/a

Default For a week i request this question here, but no request. - 11-05-2009 , 05:39 AM






For a week i request this question here, but no request.

How to open the activ ul from the start at a site
http://groups.google.com/group/jquery-en/browse_thread/thread/e752f5d7bdf102a8

Reply With Quote
  #2  
Old   
Brad Hile
 
Posts: n/a

Default Re: For a week i request this question here, but no request. - 11-05-2009 , 06:03 AM






I'm definately no expert but when you hover over a superfish main
element
it changes the active li class to 'sfHover' and the ul within it to
<ul style="display: block; visibility: visible;">

Not tested but perhaps you could use something like (this is to
activate the 2nd menu item)
$('.sf-menu li:nth-child(2)').addClass("sfHover")
$('.sf-menu li:nth-child(2) ul').css({'visibility': 'visible'});




On Nov 5, 6:39*pm, jens <i... (AT) wizardmedien (DOT) de> wrote:
Quote:
For a week i request this question here, but no request.

How to open the activ ul from the start at a sitehttp://groups.google.com/group/jquery-en/browse_thread/thread/e752f5d...

Reply With Quote
  #3  
Old   
Charlie
 
Posts: n/a

Default Re: [jQuery] Re: For a week i request this question here, but norequest. - 11-08-2009 , 10:16 PM



consider using an accordion.....&nbsp; jQuery&nbsp; UI accordion has navigation option that will open to correct panel. If you want menu to stay open, superfish is not really suited for that IMO
http://jqueryui.com/demos/accordion/

Brad Hile wrote:

I'm definately no expert but when you hover over a superfish main element it changes the active li class to 'sfHover' and the ul within it to &lt;ul style="display: block; visibility: visible;"&gt; Not tested but perhaps you could use something like (this is to activate the 2nd menu item) $('.sf-menu li:nth-child(2)').addClass("sfHover") $('.sf-menu li:nth-child(2) ul').css({'visibility': 'visible'}); On Nov 5, 6:39&nbsp;pm, jens &lt;i... (AT) wizardmedien (DOT) de&gt; wrote:



For a week i request this question here, but no request. How to open the activ ul from the start at a sitehttp://groups.google.com/group/jquery-en/browse_thread/thread/e752f5d...







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.