Trigger an action on the parent page from within chat window

I am trying to trigger an action which resides on the parent page, using a button or link that comes within the chat window. Is this possible? If yes, any suggestions on how to go about this?

Right now I am facing the blocked - cross origin frames problem!