Drop down menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • princelindie
    New Member
    • Feb 2008
    • 28

    Drop down menu

    My main web page has two frames. menu and content frame. i would like to a drop down ment to drop over the menu frame into the content frame when a mouse go over the menu.

    How can i when my code look something like this.
    Code:
    div id="menu_parent">Main Menu</div>
    
    <div id="menu_child">
    <a href="#">Item 1</a>
    <a href="#">Item 2</a>
    <a href="#">Item 3</a>
    </div>
    
    <script type="text/javascript">
    at_attach("menu_parent", "menu_child", "hover", "y", "pointer");
    </script>
  • harshmaul
    Recognized Expert Contributor
    • Jul 2007
    • 490

    #2
    Originally posted by princelindie
    My main web page has two frames. menu and content frame. i would like to a drop down ment to drop over the menu frame into the content frame when a mouse go over the menu.

    How can i when my code look something like this.
    Code:
    div id="menu_parent">Main Menu</div>
    
    <div id="menu_child">
    <a href="#">Item 1</a>
    <a href="#">Item 2</a>
    <a href="#">Item 3</a>
    </div>
    
    <script type="text/javascript">
    at_attach("menu_parent", "menu_child", "hover", "y", "pointer");
    </script>

    Hi i will need a bit more description... but first diagnosis is use a div layout instead of a framelayout. the frames are supposed to seperate layout... and if you want menus to deop down over others you will need to use divs.

    Comment

    • Stubert
      New Member
      • Dec 2007
      • 20

      #3
      Hi, I've used a CSS menu on my website that I got from a tutorial on this website:

      CSS Menu Tutorial

      Hopefully this will help you understand how to implement a drop-down menu.

      Thanks,

      Stuart

      Comment

      Working...