I have seen this question many times, and many answers seem to offer the basic method target="_blank" . However, I have used this before in the past; but my current page is not working. I also don't think that this might be the best option, even if it works; since I ONLY want the links in iframe src="" open in a new window. I will download a simple solution there, which I can add to the line on the page. I also tried adding an identifier, as shown below, and using JavaScript is still nada.
<iframe src="mywordpressfeed.html" id="frame1" width="310" height="380"></iframe>
Js
$(document).ready(function(){ $("#frame1").attr("target","_blank"); });
Basically the goal is when the user sees my wordpress channel inside the iframe, which I have on a static page; after clicking on the message header, it loads in a new window - since now it loads within the same iframe, so there is no increased level of readability.
javascript jquery html html5
Fred randall
source share