Punchinello
Programmer
I need some help showing/hiding a set of <span> elements.
I've got an area on the html page that shows a company name and address. What I want to do is place some anchors (I think) that let the user select which address to display among choices like "Shipping address", "Billing address" and so on. Each address is enclosed in a <span> block with a unique id. So when the user clicks on "Shipping address", I want a script to make the selected address visible and make sure that the others are hidden. And to highlight or bold the active anchor and make sure the inactive anchors are normal text.
I've got an area on the html page that shows a company name and address. What I want to do is place some anchors (I think) that let the user select which address to display among choices like "Shipping address", "Billing address" and so on. Each address is enclosed in a <span> block with a unique id. So when the user clicks on "Shipping address", I want a script to make the selected address visible and make sure that the others are hidden. And to highlight or bold the active anchor and make sure the inactive anchors are normal text.