simple show hide this div depending on id
Posted on 2012-04-01
i have 10 div's.
i have a menu bar that says;
when i click div1, i want it to show div 1, and hide all the rest because they do not have
the div id# div1
the catch is, i want it linked to the div's class or id name
basicly like a onclick=get.this type code
so example, when clicking on the div 1 link,
the div 1 link will show the div with that related link# and id# div1
hopefully that explains it all.