open iframe fancybox from within an iframe so that it opens in the parent

I can get this to work which opens a fancybox IMAGE from within an iframe

<a href="javascript:parent.${href : 'myurl'});">Open something</a>

Problem I have is that I need to open a fancybox IFRAME. Example code or any ideas would be greatly appreciated.



Simply, set type iframe:

<a href="javascript:parent.${href : 'myurl', type: 'iframe'});">Open something in iframe</a>

But you should do it only when you need to have different options, because you can open other page withing iframe like:

<a href="myurl">Open something in iframe</a>

Need Your Help

Adding items to JList caused java.lang.NullPointerException

java netbeans jlist

I have been searching for a problem in my code for more than 4 hours, but couldn't find it... The problem is, I have one java class with one JFrame, where I have put the JList with a DefaultListMod...

How to package a Python module

python module packaging

I am a newbie to Python and I have been going through the exercises in LPTHW: