[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-10 Thread mikeromana
Can someone please be kind enough to let me know where to make the
changes so that I can remove the arrows from the submenu.
I have tried real hard to figure it out but I can't figure out where
to make the changes.
Do I make the changes in the superfish.js, the superfish-navbar.css
file?

Where would I add the code to utlize this given solution
$(ul.sf-menu).superfish({autoArrows:  false});

Or this one?
 $('#nav  li  a span').remove();

I would have opened a new thread but since there was already a thread
opened on it I thought I'd append to it.

Thank you in advance.
Happy Holidays.

On Dec 9, 9:51 pm, mike romana mikerom...@gmail.com wrote:
 Hello and thank you but a total newb where do I put that code?



 On Wednesday, December 9, 2009, Charlie charlie...@gmail.com wrote:

  easier solution is to turn off the insertion of the arrows within
  superfish options

  $(ul.sf-menu).superfish({autoArrows:  false});

  mikeromana wrote:

    Sorry to be a newb, but I am trying to do the same thing where there
  are no arrows in the main menu:

  Well, just delete the markup for the arrows then:
  $('#nav  li  a span').remove(); 

  Where do I put that code?

  Thank you.

  On Nov 13, 9:25 am, discern cap...@gmail.com javascript:_e({}, 'cvml', 
  'cap...@gmail.com'); wrote:

      Perfect. Thank you!- Hide quoted text -

 - Show quoted text -


[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-10 Thread discern
You can put it right after the place where you call superfish to begin
with. It's just a built-in option for superfish.

For example the top of your document might look something like this:
html
head
  titleMy Page/title
  link rel=stylesheet... /
  script ...jquery.js/script
  script ...superfish.js/script
  script type=text/javascript
  $('#nav').superfish({
delay:750,
speed:'fast'
  });
  $('#navlia span').remove();
  $(ul.sf-menu).superfish({
autoArrows: false
  });
  /script
/head
body
  ul id=nav
li...

This assumes your superfish menu unordered list has an id of nav.


[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-10 Thread mikeromana
discern YOU Rule!
Thank you so much!

And thank you for being thoughtful enough to include
This assumes your superfish menu unordered list has an id of nav.

Because that threw me off!

Wishing you great karma. :)

On Dec 10, 4:07 pm, discern cap...@gmail.com wrote:
 You can put it right after the place where you call superfish to begin
 with. It's just a built-in option for superfish.

 For example the top of your document might look something like this:
 html
 head
   titleMy Page/title
   link rel=stylesheet... /
   script ...jquery.js/script
   script ...superfish.js/script
   script type=text/javascript
   $('#nav').superfish({
     delay:750,
     speed:'fast'
   });
   $('#navlia span').remove();
   $(ul.sf-menu).superfish({
     autoArrows: false
   });
   /script
 /head
 body
   ul id=nav
     li...

 This assumes your superfish menu unordered list has an id of nav.


[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-10 Thread discern
No problem, but I think I should correct my previous comment.

This is unnecessary if your menu is idnav as it would do nothing, as
it assumes your unordered list has the CLASS of sf-menu:
$(ul.sf-menu).superfish({
  autoArrows: false
});

And the first superfish block in my example above should look like
this:

$('#nav').superfish({
  delay: 750,
  speed: 'fast',
  autoArrows: false
});

I hope that helps.


[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-09 Thread mikeromana
Sorry to be a newb, but I am trying to do the same thing where there
are no arrows in the main menu:

Well, just delete the markup for the arrows then:
$('#nav  li  a span').remove(); 

Where do I put that code?

Thank you.



On Nov 13, 9:25 am, discern cap...@gmail.com wrote:
 Perfect. Thank you!


[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-09 Thread mikeromana
Hello, sort of a newb here. I had the same question.
Just where do you add that code to stop the arrows from showing in the
main nav bar?

Thanks in advance.

On Nov 13, 9:25 am, discern cap...@gmail.com wrote:
 Perfect. Thank you!


Re: [jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-09 Thread Charlie




easier solution is to turn off the insertion of the arrows within
superfish options

$("ul.sf-menu").superfish({autoArrows: false}); 


mikeromana wrote:

  Sorry to be a newb, but I am trying to do the same thing where there
are no arrows in the main menu:

"Well, just delete the markup for the arrows then:
$('#nav  li  a span').remove(); "

Where do I put that code?

Thank you.



On Nov 13, 9:25am, discern cap...@gmail.com wrote:
  
  
Perfect. Thank you!

  
  
  





Re: [jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-12-09 Thread mike romana
Hello and thank you but a total newb where do I put that code?

On Wednesday, December 9, 2009, Charlie charlie...@gmail.com wrote:





 easier solution is to turn off the insertion of the arrows within
 superfish options

 $(ul.sf-menu).superfish({autoArrows:  false});


 mikeromana wrote:

   Sorry to be a newb, but I am trying to do the same thing where there
 are no arrows in the main menu:

 Well, just delete the markup for the arrows then:
 $('#nav  li  a span').remove(); 

 Where do I put that code?

 Thank you.



 On Nov 13, 9:25 am, discern cap...@gmail.com javascript:_e({}, 'cvml', 
 'cap...@gmail.com'); wrote:


 Perfect. Thank you!










[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-11-13 Thread discern
Perfect. Thank you!


[jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-11-12 Thread discern
Thanks, but I now realize my question was not terribly clear.

Superfish has the autoArrows option, but that adds arrows to ALL the
list items having sub list items, at any level. What I would like is
to only add arrows (with Superfish's autoArrow option) to list items
that happen to have a sub-level of ul li, but that are NOT at the top
level.

ul id=nav
  liItem/li
  lia href=#Item 1/aDON'T ADD ARROW HERE
ul
  lia href=#Item/a ADD ARROW HERE
ul
  liItem/li
  liItem/li
  liItem/li
/ul
  /li
  lia href=#Item/a/li
  lia href=#Item/a/li
 /ul
  /li
/ul



Re: [jQuery] Re: Superfish - Auto Arrows on sub menus only?

2009-11-12 Thread Andrei Eftimie
 Thanks, but I now realize my question was not terribly clear.

 Superfish has the autoArrows option, but that adds arrows to ALL the
 list items having sub list items, at any level. What I would like is
 to only add arrows (with Superfish's autoArrow option) to list items
 that happen to have a sub-level of ul li, but that are NOT at the top
 level.

Well, just delete the markup for the arrows then:

$('#nav  li  a span').remove();


-- 
Andrei Eftimie
http://eftimie.com
+40 758 833 281

Punct
http://designpunct.ro