Dynamic external link not opening up inside iframe for my popup
-
My boss purchased the Remote Content extension. I created a Popup with a blank iframe
<iframe id="test" src=""></iframe>
, clicked checkbox for Enable Remote Content, and set type to iFrame, plus set targeting conditions for the entire site. On my test page, I place this code:<a href="https://google.com" class="popmake-12">Click Here</a>
where popmake-12 is the name of the popup window I created.My expectation is that when I click the link, it will populate the iframe with the href link (i.e., google.com). The popup window appears, the loader fires for about 5 seconds, but then the iframe src is not loaded. The Chrome Console doesn’t give me an error either.
What am I missing? How can I get Remote Content to populate the iframe’s #test.src with the hyperlink’s this.href url? Do I still need to write custom jQuery code to do this?
- The topic ‘Dynamic external link not opening up inside iframe for my popup’ is closed to new replies.