Target Link _blank, but does not open in new window
2 posts by 1 authors in: Forums > CMS Builder
Last Post: May 6, 2010 (RSS)
By (Deleted User) - May 6, 2010
Please see this page:
http://www.superiorlighting-nyc.com/fluorescent/recessed_lay_ins_item.php?Superior-Center-Basket-2x2-5
For site visitors to download the PDF spec sheet, there is a picture link (the folder with the green arrow) and also a text link right next to it.
We want the spec sheet (pdf) to open in a new browser window. It works fine when the image link is clicked, but when the text link is clicked it open in the same window.
There is the code:
What are we doing wrong?
http://www.superiorlighting-nyc.com/fluorescent/recessed_lay_ins_item.php?Superior-Center-Basket-2x2-5
For site visitors to download the PDF spec sheet, there is a picture link (the folder with the green arrow) and also a text link right next to it.
We want the spec sheet (pdf) to open in a new browser window. It works fine when the image link is clicked, but when the text link is clicked it open in the same window.
There is the code:
<td></br><?php else: ?>
<a href="<?php echo $upload['urlPath'] ?>" target="_blank"><img src="../_img/download_icon.jpg" align="bottom"></br>
<a href="<?php echo $upload['urlPath'] ?>">Download the <strong><?php echo $wet_locationRecord['item_code'] ?></strong>
Spec Sheet PDF</a><br/> <?php endif ?>
<?php endforeach ?></td>What are we doing wrong?
Re: [RapidWeb] Target Link _blank, but does not open in new window
By (Deleted User) - May 6, 2010
Never mind... Got it fixed. Did not realize that i was missing the target _blank in the text link. I had it right in Dreamweaver Layout but when a looked in code view I saw that it was not there...