Questions answered by this recipe
How can I create modal dialog containing an iframe with dynamically changeable popup content for the source?
This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer.
This recipe creates a modal popup dialog tied to a special link where the link content is what gets displayed in the iframe popup.
This adds two markups. A parameterless required markup called
(:popiframe:) and a modified link using the markup
%popiframe name=mytarget%[[https://www.youtube.com/embed/omha5zJkAGM|Tux Racer]]
The name=mytarget creats a target of
#mytarget for the href. Without that parm all links will simply use
# as the target which means if you click on one, they will all show up as followed.
Change log / Release notes
- 2016-05-30: Initial release.
- 2018-03-22: Updates from Petko for new Markup php 7 compatability
See discussion at PopupIFrame-Talk