1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

jquery nav help

Discussion in 'JavaScript' started by cristian garcia, Jan 3, 2014.

  1. #1
    Hi, i'm a student and I'm learning how to do different things in HTML, CSS and JQuery.
    I came across a navigation that I really liked so I have some code mimicking the style. However in the original nav I see that once you click on the link it replaces the link of the corresponding page you selected.

    How can you make that happen in jquery and also how can you make the background div increase and decrease as the drop down menu is activated.

    http://www.timflach.com/ what i'm talking about happens when you click porfolio

    http://jsfiddle.net/kbwood/seGZ7/1/ heres the code of what i'm actually working with.
    Thank you!
    Solved! View solution.
    cristian garcia, Jan 3, 2014 IP
  2. #2
    Not entirely sure I understand what you mean by "replaces" - are you talking about the color changes? What link is being replaced?

    Besides - most of the menu and the effects can be done using CSS alone - only the delays and slide-effects and such might need some js.
    PoPSiCLe, Jan 3, 2014 IP