SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Sep 2007
    Posts
    203
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    jquery accordian style navigation help

    Hi,

    I am working on a website and discovered this vertical accordion style navigation bar that works perfectly for my needs. I am not a programmer though and have never worked with jquery so I need a little help tweaking a part of this navigation.

    The instruction page that I cut and paste the code from is here:

    http://roshanbh.com.np/2008/06/accor...ng-jquery.html

    I have two menu items that don't need a dropdown component (the "home" button and the "contact us" button). They are pretty much stand alone links. You can view my page at:

    http://www.oaknoll.com/fullpage_index.html

    Is it possible to make the home and contact buttons a stand alone link themselves? I don't want it to open a sublink as there are none connected to these two buttons...

    Also, where in the code do I place the info if it is possible.

    Appreciate any help you can provide....

    Sarb

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,176
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    You could just delete the dropdown div for the links that don't need it and instead turn this:

    Code:
    <p class="menu_head">Home</p>
    into this:

    Code:
    <p class="menu_head"><a href="/">Home</a></p>
    and do the same for the Contact para too.


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
  •