All you need to do is insert this:
Code:
<script type="text/javascript">
function getID(me) {
var values = document.getElementById("getValues").getElementsByTagName("div");
for(var i = 0; i < values.length; i++){
if(values[i].getAttribute("class") == me.getAttribute("id")){
values[i].style.display = "block";
} else {
values[i].style.display = "none";
}
}
}
</script>
In the head part of you're document, and on every link you have, make the ID equal to the class of which div's you want to appear.
One of you're problems is on line 2101:
Remove the highlighted.
Tell me how that works out.
Bookmarks