handle events on clicking the posting anchor