Today we will discuss 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.
Now we will about URL structure and browser title text trick. For executing this trick I have used some JavaScript.
- Active tab title tag trick
- Blink Effect in title tag script
- Marquee Effect in title tag script
These are 3 SEO trick I have created javascript code. this trick everything depends on browser tag.
Active tab title tag script
Active tab title trick it's very coolest trick. While someone opens 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 a 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 a script to display on the 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.
- Swami Sivananda
Related Topics
- Facebook Style Drop Down Log out Menu
- Dynamically adding HTML form field using jQuery
- Jquery image on click effects
- Send email with HTML template using PHP
- Share your website link to social media website
- Export Html table data to CSV file using JavaScript
- Login with facebook using CodeIgniter
- Ajax add, view and delete using MySQL
- PHP age calculator script
No comments:
Post a Comment