How to make a clickable list item with anchor text inside ?
For example

<li class="clickable">
    <a href="http://www.somesite.com">Go</a>
</li>

So, when i click the list item, the browser should automatically go to www.somesite.com ...
In other words, I want to make it like the snippets on CSS Tricks : http://css-tricks.com/snippets/

What you actually see happening on CSS Tricks page is, the content is all there on the page aleady and it is just showing and hiding the content depending on which option a user chooses from the list. It is using jQuery and CSS for the showing and hiding of the content when a list item is selected.

CSS Tricks method of doing this looks to be completely custom, but you could mimic this almost exactly using jQuery UI Tabs http://jqueryui.com/tabs/#vertical

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.