triggering a skin action from within an iframe

Q&A about the latest versions
Post Reply
JVaron
Posts: 16
Joined: Tue Feb 14, 2017 4:41 pm

I am using fancybox to open text content in an iframe (I do it this way so the client can easily edit the text in-house).

On the HTML page that contains the text in the iframe, I want to add a link within the text that does 2 things.
1) close the fancybox, and
2) trigger-click an element in my skin to run all it's action items.

I've figured out how to close the fancybox, but I can't figure out how to trigger the action in the skin. This is what I have so far

Code: Select all

<a href='javascript:;' onclick='parent.closeFancybox()'>text goes here</a>
Any thoughts?
Post Reply