Open link in iframe [closed]

Assuming the iFrame has a name attribute of “myIframe”:

<a href="http://www.google.com" target="myIframe">Link Text</a> 

You can also accomplish this with the use of Javascript. The iFrame has a src attribute which specifies the location it shows. As such, it’s a simple matter of binding the click of a link to changing that src attribute.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)