Skip navigation
mookie blaylock
Currently Being Moderated

SpryMenu puzzle: why does one button behave differently than others?

Jun 23, 2011 3:28 PM

For all you SpryMenu enthusiasts. Here's a real puzzle. I knew this would become a problem. It actually LOOKS different in Dreamweaver code view.

 

Of course it's only a problem in ie7/win.

 

http://mayakaimal.com/mayakaimal2/prod-land-fridge.html

 

Can anyone detect why the Products dropdown menu behaves differently than all the others?? I can't. I've combed it over and over.

 
Replies
  • Currently Being Moderated
    Jun 23, 2011 5:47 PM   in reply to mookie blaylock

    The anchor element cannot be empty. Just type PRODUCTS in the relevant spot and guess who is your uncle.

            <li id="item1-home"><a class="MenuBarItemSubmenu" href="index.html">HOME</a></li>
            <li id="item2-products"><a class="MenuBarItemSubmenu" href="#"></a>
              <ul>
                <li id="item2-1"><a class="MenuBarItemSubmenu" href="prod-land-fridge.html"></a></li>
                <li id="item2-2"><a class="MenuBarItemSubmenu" href="prod-land-ss.html"></a> </li>
                <li id="item2-3"><a class="MenuBarItemSubmenu" href="#"></a></li>
              </ul>
            </li>
            <li id="item3-recipes"><a class="MenuBarItemSubmenu" href="#">RECIPES</a>

     

    Gramps

     

    PS While you are at it, do the same for all of the empty achor elements.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2011 7:53 PM   in reply to mookie blaylock

    Swap SpryMenuBar.js and SpryAccordion.js around so that SpryAccordion loads first.

     

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2011 9:28 PM   in reply to mookie blaylock

    I finally found it. The following menu item does not have any submenus thus the class should be removed

    <li id="item1-home"><a class="MenuBarItemSubmenu" href="index.html">HOME</a></li>

    Gramps

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2011 10:18 PM   in reply to mookie blaylock

    You'r welcome mate.

     

    I did see the text-indent but it did not register.

     

    Gramps

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points