C.Stanley Active member Jan 28, 2017 #1 I have a few site sponsor ads placed on the site. When you click them it loads that page rather then opening a new window. How can I make it open a new window when a link/ad is clicked?
I have a few site sponsor ads placed on the site. When you click them it loads that page rather then opening a new window. How can I make it open a new window when a link/ad is clicked?
AndyB Well-known member Jan 28, 2017 #2 You want to use the target="_blank" code. Code: <a href="http://www.w3schools.com" target="_blank">Visit W3Schools</a> Upvote 0 Downvote
You want to use the target="_blank" code. Code: <a href="http://www.w3schools.com" target="_blank">Visit W3Schools</a>
Degrinch Active member Jan 28, 2017 #3 You would need to create the correct html in your ad code. Upvote 0 Downvote
C.Stanley Active member Jan 28, 2017 #4 So i would add target where? Code: <xen:set var="$banners.1"><a href="https://image.ibb.co/kOmJyv/Shortuning.jpg"><img src="https://image.ibb.co/kOmJyv/Shortuning.jpg" border="0" style="margin: 15px; float:right;" / ></a></xen:set> Upvote 0 Downvote
So i would add target where? Code: <xen:set var="$banners.1"><a href="https://image.ibb.co/kOmJyv/Shortuning.jpg"><img src="https://image.ibb.co/kOmJyv/Shortuning.jpg" border="0" style="margin: 15px; float:right;" / ></a></xen:set>