How to make links inside iframe open in new window/tab?
So that's no problem, except when people on my fan page click on the offer, it opens up within the iframe, and is obviously too big for the fan page.
So I've been trying to find a code that makes all links within my iframe open in new window or tab, either will work.
Any idea?
I've tried target_blank/top with no luck.
Here is my code:
<div style='overflow: hidden; width: 409px; height: 223px; position: relative;' id='odiv'>
<iframe id='bframe' onload='base=history.length;framepopup(history.len gth);' name='bframe' src='http://myurl.com' style='border: 0pt none; left: -222px; top: 1px; position: absolute; width: 1280px; height: 680px;' scrolling='no'></iframe></div>
-
theofficialSJ -
Thanks - 1 reply
{{ DiscussionBoard.errors[3606806].message }}-
RyanAndrews -
Thanks - 1 reply
{{ DiscussionBoard.errors[3607038].message }}-
oldwarrioruser1 -
Thanks
{{ DiscussionBoard.errors[3609031].message }} -
-
-