$(document).ready(function(){ $('#website-design').click(function(){ $('.website-design').show(); $('.graphic-design').hide(); #('.wordpress').hide(); });});
How do i achieve this:
you click a link and a paragraph shows up (div)
and you click the link under it and the first div disappears and a new one appears,
then you click the next link, and the content changes again , the previous div disappears, and a new one appears.
for some reason my code isn't working...
could i please get some help?
it doesn't do anything.
.accordion
http://jsfiddle.net/8jsQ8/
works fine here :)