Adapt target iframe to blank if it is mobile


I am developing a page with an iframe that when clicking on a content is displayed in this.

Is there a way that when viewed from cell phone the code:

<a href="{{post.post_link}}" target="iframe1"> 

be able to adapt it to open a new window target="_ blank"?

thank you very much!

asked by Jennifer 08.11.2018 в 01:14

0 answers