[jQuery] Re: Another Superfish release already? I'm calling it v1.2b

2007-06-13 Thread Olivier Percebois-Garve

Hi

another improvment idea:
How to style specifically the parent node(s) of the current node ?

Olivier


On 6/12/07, Joel Birch  [EMAIL PROTECTED] wrote:



On 12/06/2007, at 3:13 AM, Jörn Zaefferer wrote:
 Thats cool, but not yet what I was looking for. I though of
 submenus that don't switch back at all until something else is
 hovered. That won't work without JS, but I find that acceptable.

 --
 Jörn Zaefferer

Hi Jörn,

I had a feeling that is what you meant - and actually, that is really
easy to do. In fact, it was possible to get that behaviour even
before I did this extra stuff, simply by setting the mouseout delay
to 999. Then the menus never close until another is hovered.

I'll put together a demo of that when I get chance.

Joel Birch.


[jQuery] Re: Another Superfish release already? I'm calling it v1.2b

2007-06-13 Thread Olivier Percebois-Garve

So I solved it quick'n dirty by using a new class and :
 $('#current').parent().parent().children('a').attr('class',
'currentlink');

On 6/13/07, Olivier Percebois-Garve [EMAIL PROTECTED] wrote:


Hi

another improvment idea:
How to style specifically the parent node(s) of the current node ?

Olivier


On 6/12/07, Joel Birch  [EMAIL PROTECTED] wrote:


 On 12/06/2007, at 3:13 AM, Jörn Zaefferer wrote:
  Thats cool, but not yet what I was looking for. I though of
  submenus that don't switch back at all until something else is
  hovered. That won't work without JS, but I find that acceptable.
 
  --
  Jörn Zaefferer

 Hi Jörn,

 I had a feeling that is what you meant - and actually, that is really
 easy to do. In fact, it was possible to get that behaviour even
 before I did this extra stuff, simply by setting the mouseout delay
 to 999. Then the menus never close until another is hovered.

 I'll put together a demo of that when I get chance.

 Joel Birch.





[jQuery] Re: Another Superfish release already? I'm calling it v1.2b

2007-06-11 Thread Erik Beeson

That's great! I haven't really been paying too close attention to this until
now. It's really nice.

The only other thing I'd really like to see is to be able to have it change
on click instead of hover.

--Erik


On 6/11/07, Joel Birch [EMAIL PROTECTED] wrote:



Hi all,

Due to overwhelming demand (well okay, two people) I have added
another feature to the Superfish plugin that enables submenus to be
open to show the path to the current page when the menu is in an idle
state, ie. when the user is not hovering to reveal other submenus.

That did not sound overly simple, but the example should clear things
up:
http://users.tpg.com.au/j_birch/plugins/superfish/all-horizontal-
example/

Thanks to Jörn and Saphire for throwing down the gauntlet. ;)

Feedback is priceless and always hugely appreciated.

Joel Birch.

P.S. If I am doing something horribly wrong regarding version numbers
for these releases, please somebody let me know :)


[jQuery] Re: Another Superfish release already? I'm calling it v1.2b

2007-06-11 Thread Joel Birch


On 11/06/2007, at 8:23 PM, Erik Beeson wrote:
The only other thing I'd really like to see is to be able to have  
it change on click instead of hover.


--Erik


I'll think about the 'change on click' thing for a future version.  
Would would close the menus? Hover out? Another click somewhere?


Thanks for the idea.

Joel.


[jQuery] Re: Another Superfish release already? I'm calling it v1.2b

2007-06-11 Thread Erik Beeson

I'm thinking like your 2 level horizontal menus but instead of reverting to
the current submenu, it stays on the clicked menu. In my case, it would
only be 2 levels deep, and no event would need to make a sub-menu go away.
Maybe that's far enough away from floating, hovering menus that it doesn't
really fit into what you're doing.

--Erik


On 6/11/07, Joel Birch [EMAIL PROTECTED] wrote:



On 11/06/2007, at 8:23 PM, Erik Beeson wrote:
 The only other thing I'd really like to see is to be able to have
 it change on click instead of hover.

 --Erik

I'll think about the 'change on click' thing for a future version.
Would would close the menus? Hover out? Another click somewhere?

Thanks for the idea.

Joel.



[jQuery] Re: Another Superfish release already? I'm calling it v1.2b

2007-06-11 Thread Jörn Zaefferer


Joel Birch wrote:


Hi all,

Due to overwhelming demand (well okay, two people) I have added 
another feature to the Superfish plugin that enables submenus to be 
open to show the path to the current page when the menu is in an idle 
state, ie. when the user is not hovering to reveal other submenus.
Thats cool, but not yet what I was looking for. I though of submenus 
that don't switch back at all until something else is hovered. That 
won't work without JS, but I find that acceptable.


--
Jörn Zaefferer

http://bassistance.de



[jQuery] Re: Another Superfish release already? I'm calling it v1.2b

2007-06-11 Thread Olivier Percebois-Garve


Its really nice even if you convinced me first that css is better for 
the job...

Anyway good to see how evolves the soon-best-menu-ever-possible.

Joel Birch wrote:


Hi all,

Due to overwhelming demand (well okay, two people) I have added 
another feature to the Superfish plugin that enables submenus to be 
open to show the path to the current page when the menu is in an idle 
state, ie. when the user is not hovering to reveal other submenus.


That did not sound overly simple, but the example should clear things up:
http://users.tpg.com.au/j_birch/plugins/superfish/all-horizontal-example/

Thanks to Jörn and Saphire for throwing down the gauntlet. ;)

Feedback is priceless and always hugely appreciated.

Joel Birch.

P.S. If I am doing something horribly wrong regarding version numbers 
for these releases, please somebody let me know :)




[jQuery] Re: Another Superfish release already? I'm calling it v1.2b

2007-06-11 Thread Joel Birch


On 12/06/2007, at 3:13 AM, Jörn Zaefferer wrote:
Thats cool, but not yet what I was looking for. I though of  
submenus that don't switch back at all until something else is  
hovered. That won't work without JS, but I find that acceptable.


--
Jörn Zaefferer


Hi Jörn,

I had a feeling that is what you meant - and actually, that is really  
easy to do. In fact, it was possible to get that behaviour even  
before I did this extra stuff, simply by setting the mouseout delay  
to 999. Then the menus never close until another is hovered.


I'll put together a demo of that when I get chance.

Joel Birch.