I've been using this code to give me 3 image links that change the pages being displayed in an <iframe name="a-comments"> and they worked fine.
I've tried using them in a HTML5 test and changed it to <iframe id="a-comments"> in order to validate the code and they work great in Chrome but Firefox and IE8 open the links in a new tab. Any ideas whats going on?
The code...
Code:<a href="media/mad-mountainbikes.htm" target="a-comments" title="Photos & Films (Default)"><img src="../img/icon-med.png" width="30" height="30" alt="media"></a> <a href="../reviews/mad-mountainbikes-reviews.php" target="a-comments" title="Reviews"><img src="../img/icon-rev.png" width="35" height="29" alt="reviews"></a> <a href="social/mad-mountainbikes.htm" target="a-comments" title="Social Media"><img src="../img/icon-soc.png" width="30" height="30" alt="social"></a>



Reply With Quote


Bookmarks