I want to be able to change the OnClick event when a other part of the page Javascript has been selected. So that the OnClick corresponds with that.
<a href="#" id="black" onClick="javascript:changetxt
('#333');">Black</a>
Can turn into:
<a href="#" id="black" onClick="javascript:changetxt
('#666');">Black</a>