Reply
How to make new links open in a new window?
Old 10-30-2009, 09:49 AM How to make new links open in a new window?
Experienced Talker

Posts: 34
Trades: 0
Hi guys,

we have a blog. The theme is swift. there is default ad placing space. Have ads too. But the thing is while clicking on the ads it simply navigate to the sites. Could you please tell where we have to edit it ( to add target='blank') for make it open in a new window.?

Many thanks

blog platform wordpress
theme swift
blog url - <removed>
__________________
Free SEO Guides from SEO Experts * Use 'Bounce Back SEO' for SEO Services

Get Free Oneway Backlinks Submit your websites to Online Business Directory

Last edited by chrishirst; 10-30-2009 at 09:53 AM..
flek is offline
Reply With Quote
View Public Profile Visit flek's homepage!
 
 
When You Register, These Ads Go Away!
Old 10-30-2009, 09:54 AM Re: How to make new links open in a new window?
MDwebdev85's Avatar
Extreme Talker

Posts: 162
Location: Maryland
Trades: 0
you'll see the link code.. <a href="http://whatever.com"></a> , add the target after the url - <a href="http://whatever.com" target="_blank">
MDwebdev85 is offline
Reply With Quote
View Public Profile
 
Old 10-30-2009, 09:58 AM Re: How to make new links open in a new window?
chrishirst's Avatar
Super Moderator

Posts: 22,282
Location: Blackpool. UK
Trades: 0
target is a deprecated attribute UNLESS you are using frames AND the T&C of most advertisers expressly forbid opening the ads in new windows.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-30-2009, 11:19 AM Re: How to make new links open in a new window?
LadynRed's Avatar
Super Moderator

Posts: 8,823
Location: Tennessee
Trades: 0
Opening new windows is also really bad for accessibility too, it's best you don't do it at all.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-31-2009, 02:56 AM Re: How to make new links open in a new window?
Experienced Talker

Posts: 34
Trades: 0
Hi friends,

may be it is wrong, but just because of this issue, users navigating away from the blog while clicking these ads..

__________________
Free SEO Guides from SEO Experts * Use 'Bounce Back SEO' for SEO Services

Get Free Oneway Backlinks Submit your websites to Online Business Directory
flek is offline
Reply With Quote
View Public Profile Visit flek's homepage!
 
Old 10-31-2009, 08:45 AM Re: How to make new links open in a new window?
chrishirst's Avatar
Super Moderator

Posts: 22,282
Location: Blackpool. UK
Trades: 0
https://www.google.com/adsense/suppo...y?answer=48182

Quote:
Ad Behavior

AdSense code may not be altered, nor may the standard behavior, targeting or delivery of ads be manipulated in any way that is not explicitly permitted by Google. For instance, clicking Google ads may not result in a new browser window being launched.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-01-2009, 10:38 AM Re: How to make new links open in a new window?
Experienced Talker

Posts: 34
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Hi chrishirst. Thanks for your help. But these are not adsense ads. You can see the 125X125 banner ads in the site. Which am getting with personal contacts. And I have edited the code and its working now..
__________________
Free SEO Guides from SEO Experts * Use 'Bounce Back SEO' for SEO Services

Get Free Oneway Backlinks Submit your websites to Online Business Directory
flek is offline
Reply With Quote
View Public Profile Visit flek's homepage!
 
Reply     « Reply to How to make new links open in a new window?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.13213 seconds with 13 queries