i was looking around and i saw a very technical navigation, its pretty awesome for me. when i read its codes i got stucked. i tried all my best but unable to understand please help me.
i tried many timese to make this navigation same as orignal but i don’t whats wrong with me. please help me to solve … when i hover over the navigation button it doesn’t change.. and when i click there is no possibility the it changed…
the orignal navigation link is … where is saw it first.
please help me.
try changing this part of the css:
you were changing the background position for the links on hover but the links didn’t actually have a background set. The
heightis so there is a target for the link – you can change it to whatever you want. I have set it at the height of the entire menu but you may only want half of that.EDIT:
you could add this:
you’ll have to add it for each menu item, of course
EDIT 2:
how about this then…
change your css to this:
note that
activeis now a class not a pseudo-classadd this jquery:
the
removeClasstakes theactiveclass away from all links then it adds it back to the selected one