well, my bad.... should have explained better....
I have 2 parts in 1 page (let say <div id="map" style="display:block"> and the other one is <div id="friend" style="display:none">..... one of the tabs is "friend list".... I made "friend list" tab to switch between the "Friend" and "Map" by changing their "Display" to "none" or "block".
By clicking on "Friend List" tab, its colour changes to blue.
how can I change the tab colour back to black, when "Display" for "map" is "Block" ?!?!
I want it to looks
Blue for => Friend display : Block ... Map display : None
Black for=> Map display: Block ..... Friend display : None
Thanks