If you want your all blog links open a new tap, You can do this easy. Each and every post links, widget links and etc., open a new tap, visitor can see two pages in same time.
How to Do it?
First, Log in Your Blogger Account. Which blog You want to change blogger desctription font size, select its "Design" Link and Select "Edit HTML" tap. Tick it "Expand Widget Templates" Radio box.
In Edit Html Page, click "Download Full Template" Link and download your blog template (Theme). If You change anything to wrong, You can Upload this template file for blog is restore to normal.
Find <Head>
Next Line Paste this code
< target='_blank' />
Save Template. Refresh Your blog and click any link, It's open a new tab.
If you want to particular link open a news tab in the post, paste target='_blank'. Ex:
Only external links open a new tab, go to Edit Html Page find
Save Template.
If you want to particular link open a news tab in the post, paste target='_blank'. Ex:
<a href="blah..blah..." target='_blank'></a>
Only external links open a new tab, go to Edit Html Page find
</body>
tag paste above following code...<!-- Newbloggerwidgets.blogspot.com codings Starts -->
<script type="text/javascript"src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script><script type="text/javascript">
//<![CDATA[
jQuery('a').each(function() {
var href = jQuery(this).attr('href');
if (typeof href != 'undefined' && href != "" && (href.indexOf('http://') != -1 ||
href.indexOf('https://') != -1) && href.indexOf(window.location.hostname) == -1) {
jQuery(this).attr("target", "_blank");
}
});
//]]>
</script>
<!-- Newbloggerwidgets.blogspot.com codings Ends -->
Save Template.
No comments:
Post a Comment