SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Threaded View

  1. #1
    SitePoint Evangelist runeveryday's Avatar
    Join Date
    Jul 2009
    1 Post(s)
    0 Thread(s)

    how to use jquery to do this navigation?


    when the mouse hovers on the first li, under it shows a text line. when hovers on the second li, under it shows a sub navigation rows.

    eg:if the following is my html structure:
    <div class="nav-top">
      <li class="navahead current"><a href="/">home</a></li>
      <li class="navahead"><a href="#">code</a></li>
      <li class="navahead"><a href="#">book</a></li>
      <li class="navahead"><a href="#">test</a></li> 
    how to layout the subnav?
    eg: the home's subnav is a text line: "welcome to my site"
    the code's subnv is "php asp java ..."
    Attached Images Attached Images


Posting Permissions

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