SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    May 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Superfish dropdown animation not working as expected

    I want the navigation dropdown to work just like this
    iXLink | The Neutral Business Exchange for Telecom.
    on this site
    ReStore

    I have no idea why the animation doesn't seem to be firing.

  2. #2
    SitePoint Member
    Join Date
    May 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Habitater View Post
    I want the navigation dropdown to work just like this
    iXLink | The Neutral Business Exchange for Telecom.
    on this site
    ReStore

    I have no idea why the animation doesn't seem to be firing.
    Jesus, a person could grow old and die before anyone responds! I found out what the issue is. Seems that Superfish is built to deal with <ul><li><a>text here</a><ul><li><a>text here</a></li></ul></li></ul>
    and my dropdown menu is built with <ul><li><span><a>text here</a><span><ul><li><span><a>text here</a></span></li></ul></span></li></ul>
    The addition of the span inside of the parent li is why the animation quit.
    Once I figure out where to add in the <span> tags to the js I will post back here.

  3. #3
    SitePoint Member
    Join Date
    May 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Habitater View Post
    Jesus, a person could grow old and die before anyone responds! I found out what the issue is. Seems that Superfish is built to deal with <ul><li><a>text here</a><ul><li><a>text here</a></li></ul></li></ul>
    and my dropdown menu is built with <ul><li><span><a>text here</a><span><ul><li><span><a>text here</a></span></li></ul></span></li></ul>
    The addition of the span inside of the parent li is why the animation quit.
    Once I figure out where to add in the <span> tags to the js I will post back here.
    Well, it seems that all I needed to do was move the span tags inside the anchor tags; et viola! the animation works as expected now. So long and thanks for all of the fish! I love these conversations with myself.
    PAUL IRISH Where were you when I needed a fresh set of eyes!!! Probably working! For like, money an stuff too i bet! LOL

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,355
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Sorry we missed your posts but glad you sorted it anyway.

  5. #5
    SitePoint Member
    Join Date
    May 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B View Post
    Sorry we missed your posts but glad you sorted it anyway.
    Being a professional webmaster one would think I could sort it on my own! LOL
    I was really beginning to doubt myself. Thanks for looking!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •