Target blank?
Target blank?
- Started
- Last post
- 1 Response
- Atkinson
I'm using the following code but want the link to open in a new tab / window. The normal target="_blank" won't work? Any ideas?
onclick="location.href='<?php bloginfo('rss2_url'); ?>';"
- neverblink0
location.href = x
means set this windows location to href (url) what you want to do is
<a href="<?php bloginfo('rss2_url'); ?>" target="_blank">link</a>