Make seo trick for title tag using javascript - Mostlikers

23 June, 2015

Make seo trick for title tag using javascript

Today we will discuses about SEO related some tricks. Nowadays all internet website marketing focusing on website SEO development they need to increase website traffic and revenue. So would suggest some seo trick on this tutorial.

Title tage aninmation script



Now we will about url structure and browser title text trick. For execute this trick i have used some JavaScript.

  1. Active tab title tag trick
  2. Blink Effect in title tag script
  3. Marquee Effect in title tag script
These are 3 seo trick i have created javascript code. this trick everthing depends on browser tag.

Active tab title tag script

Active tab title trick it's very coolest trick. While someone open your website in browser but they skip and open tab your site browser title message will change automatically 
<script>
 $(document).ready(function(){
   window.onblur = function () { document.title = "Don't forget to visit again"; }
   window.onfocus = function () { document.title = 'mostlikers demos'; }
 });
</script>

On blur effect this script until active the tab this title name will display on browser.

Blink Effect in title tag script

This concept the title to blink until it becomes active. (like Gmail Talk).  here i have set time limit in script to display on browser tab.
<script>
setInterval(function(){
var title = document.title;
document.title = (title == "Mostlikers SEO" ? "DEMOS" : "Mostlikers SEO");
}, 1000);
</script>

Marquee Effect in title tag script

<script>
   var scrl = " Mostlikers Demos ";
    function title_marquee() {
     scrl = scrl.substring(1, scrl.length) + scrl.substring(0, 1);
     document.title = scrl;
     setTimeout("title_marquee()", 300);
 }
</script>
<body onLoad="title_marquee()">

Thank you for visiting. if have any queries write comments below.

"Put your heart, mind, and soul into even your smallest acts. This is the secret of success. "
                                             
                                         - Swami Sivananda








Related Topics

No comments:

Post a Comment