base code for text object clickable links