View Single Post
Old 02-22-2019, 04:37 PM  
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,570
Quote:
Originally Posted by Cameltoepro View Post
Have a question. I have gooled this to death. Yet, nothing I have found works right. I'm using a Iframe on a blog. The Iframe works great. Yet, I'm wanting to make so when the suffer clicks on the Iframe it opens in a different tab. Here is my current code: [iframe src="https://imlive.com/wmaster2.ashx?wid=xxxxxxxx&LinkID=701&promocode=BC ODEL0000002_00000&QueryID=1&from=freevideo6"]

Is this workable?
Put a div with an anchor tag over the iframe.

<a href=urlyouwanttoopen target=_blank>
<div>
<iframe>
</iframe>
</div>
</a>

Be aware that opening in a new tab can trigger popup blockers.

.
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote