Powered by Blogger.
Showing posts with label Blogger Tricks. Show all posts
Showing posts with label Blogger Tricks. Show all posts

Tuesday, 9 April 2013

What Is Alexa Rank And What Are Its Benefits?

0 comments Posted by Imran at 00:31
In addition to google page rank, Alexa rank is one factor to make money on the internet. So if you're serious about making money on the internet then you must know Alexa rank.

What is Alexa rank? Alexa rank is a tool created by Alexa.com to analyze how much traffic or page views of a website are there it is based on the number of visitors who visit his website and the other method is to install the Alexa toolbar on their browser whenever the user install the alexa toolbar it automatically detect that which website is most visited by the user who istalled the toolbar. After that, the data will be collected and then ranked based on the traffic. The greater the traffic the smaller will be its rank. So how to find our website Alexa ranking? check it out.
Remember the smaller the rank the popular your website is. . .




There are 2 ways through which you can use to find your website's alexa rank, namely:

 I. Install Our Alexa widget on your blog that looks like this way of installation:

1. Click Here for downloading our alexa widget.
it will look like this. . .




2. click on Install Toolbar



3. A new Pop-Up window Will Appear that ask's you about their privacy policy, just click on Accept and Install



4. It will ask you to Install plugin - simply click On allow. . .

5. And You Are Done!. . .


This plugin shows you
  • The search engine to search something from ITWebister
  • The rss update through which you may know about the latest update.
  • Labels of our blog
and the main think
  • It shows the rank of all websites that you open just mouse over the "a" symbol (alexa symbol) at the right of the toolbar it automatically show you the rank of that website. . .
and this toolbar is so fast working - mean it will not effect your browsing speed so go on. . .

Then what good alexa rank for your blog?



 If your blog is used to make money on the internet then alexa rank is very important to you. Because many dollars producing programs on the internet such as TLA , SponsoredReviews , Blogsvertise etc.

which require alexa rank to join. So the smaller the alexa ranking of your blog more and more programs you can follow, which means greater your chance to make money on the internet. In addition, Alexa rank can also be used to determine whether The blog is popular or not.

I hope you understand the value of alexa on the internet and its popularity that why it so so necessary for blog or any website please give your reviews about this article and your alexa rank and also share this article with your friends using our social sharing widget below the title. . .
Read More »

Tuesday, 2 April 2013

How to Check if a Website Uses WordPress?

0 comments Posted by Imran at 02:09
Check If the website is Wordpress
Do you want to know if a Website is using WordPress or not? Here i am sharing quick way to know if the website is a WordPress or not. No doubt, WordPress is one the most popular Blogging platform, So it is the preferred CMS to create a blog. There are millions of Blogs/Websites are hosted on WordPress. As, it is not difficult to find whether a Website uses WordPress or not, only if you are good in this IT field. If you are well familiar with website coding Like PHP, Java, Then you can know easily if a Website is using WordPress or not.

Many times, you would have seen a great site and wondered is it uses WordPress? Don’t worry, If you not much skilled in Coding, This is a quick trick for you to know if a Website is hosted on WordPress. There is a website and some add-on as well, that helps you to find if a website is using WordPress.




What CMS a Website is Running On?


If you are not sure if a Website uses WordPress, There is a website called "Is it WordPress", that will tell you if the blog/website is using WordPress. You just need have to enter the URL of the website and it will tell you if the website is powered by WordPress. See the picture below.




How “Is it WordPress” works?


Is it WordPress works on a very simple method. It analyze the HTML of the domain you have just entered. It find out the generator head tag first, if it’s not then it find theme file “wp-content/themes/” and if it still don’t find, it will check the readme.html file. Is it WordPress not only tells you if a Website uses WordPress but also it shows the version of the WordPress a website uses.

Visit: Is it WordPress


Though, there are many tricks to find if a website is hosted on WordPress. But no other tool is as easy as “Is it WordPress”.  You can also grab an add-on your browser that will tell you if a website uses WordPress.

Chrome Sniffer: Chrome sniffer is useful chrome extensions for Google Chrome users that easily find web applications and Javascript of Website that  your are browsing.

Wappalyzer: Wappalyzer is also a very useful Firefox add-on, that tells if a website is hosted on WordPress or not.


Hope, it will help you in finding if a Website uses WordPress. Well, there are couple of more tricks for it, tell me what another trick you use to know if a website uses WordPress CMS. Drop you suggestion via comment box below.
Read More »

Saturday, 16 March 2013

New Facebook Pop Up Like Box For Blogger 2013 With Timer

0 comments Posted by Imran at 06:25
Today we are sharing New And lite version with much control options. This one includes a time counter and instead of likebox it displays a like button that links to your Fan Page and an attractive Image that also links to your fan page letting your visitors to either join your fan page by clicking the like button or by simply visiting your fan page by clicking the image. You can set for how long the widget/plugin must display before disappearing automatically. It also includes a close option.
You can also specify whether you want it to show immediately as soon as a visitor enters your site or after a specified time. we simply modified the code to create four different backgrounds for the likebox. The installation is extremely easy just follow these steps. This one comparatively loads faster.


Important Note: Some of Templates Does Not Support PopUpBox Close Option.
I saw some of blogs are using timeout of 1000 & above seconds plz dont use this, because you will loose  your blog traffic, better use timeout : 10 or 20 second because visitors dont want to wait!!! 

How To Add Facebook Like Box To The Blogger With Timer



Go To Blogger > Design > Edit HTML
Backup your template
Paste the following code just above </body>

<!-- itwebister.blogspot.Com New Facebook Pop Up Like Box For Blogger 2013 With Timer Start -->
<script type='text/javascript'>
//<![CDATA[
KNFBFansPRO='ITWebister'
//]]>
</script>
<style>
#fblikepop{background-color:#fff;display:none;position:fixed;top:200px;_position:absolute; /* hack for IE 8*/width:450px;border:10px solid #900000;z-index:200;-moz-border-radius: 9px;-webkit-border-radius:

9px;margin:0pt;padding:0pt;color:#900000;text-align:left;font-family:arial,sans-serif;font-size:13px;
}
#fblikepop body{background:#FFF none repeat scroll 0%;line-height:1;margin:0pt;height:100%;
}
.fbflush{cursor:pointer;font-size:11px !important;color:#FFF !important;text-decoration:none !important;border:0 !important;
}
#fblikebg{display:none;position:fixed;_position:absolute; /* hack for IE 8*/height:100%;width:100%;top:0;left:0;background:#000000;z-index:100;
}
#fblikepop #closeable{float:right;margin:7px 15px 0 0;
}
#fblikepop h1{background:#900000 none repeat scroll 0 0;border-top:1px solid #900000;border-left:1px solid #900000;border-right:1px solid #900000;color:#FFFFFF !important;font-size:14px !important;font-

weight:normal !important;padding:5px !important;margin:0 !important;font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
}
#fblikepop #actionHolder{height:65px;overflow:hidden;}
#fblikepop #buttonArea{background:#FFFFFF;border-top:1px solid #9000000;padding:10px;minCCCCCCght:50px;
}
#fblikepop #buttonArea a{color:#999999 !important;text-decoration:none !important;border:0 !important;font-size:10px !important;
}
#fblikepop #buttonArea a:hover {color:#900000 !important;text-decoration:none !important;border:0 !important;
}
#fblikepop #popupMessage{font-size:12px !important;font-weight:normal !important;line-height:22px;padding:8px;background:#333 !important;
}
#fblikepop #counter-display{float:right;font-size:11px !important;font-weight:normal !important;margin:5px 0 0 0;text-align:right;line-height:16px;
}
</style>

<script type='text/javascript' src='https://sites.google.com/site/mmktricks/jquery.js'></script>

<script type='text/javascript' src='http://connect.facebook.net/en_US/all.js#xfbml=1'></script>


<script type='text/javascript' src='https://sites.google.com/site/itwebister/FBpopout.js'></script>


<script language='javascript'>
//<![CDATA[
$(document).ready(function(){
$().KNFBFansPRO({
timeout: 20,
wait: 0,
url: 'http://www.facebook.com/itwebister',
closeable: true });
});
//]]>
</script>
<div id='fbtpdiv'></div>
<!-- itwebister.blogspot.Com New Facebook Pop Up Like Box For Blogger 2013 With Timer End -->
 Make these important changes:
 
Replace this ITWebister with your Facebook username.
The timer is set to 20 seconds to change it simply edit timeout: 20
The widget appears immediately after a visiter eneters. If you want it to appear after one minute or more then edit wait: 0
Read More »

Monday, 4 March 2013

How To Add A Copyright Notice To Copied Text

0 comments Posted by Imran at 01:04
Add Copyright Notice To Copied Content
I was search for an aritcle for my assignment while copy pasting my valuable content i notice that a refrence link with that content is also appearce at the bottom of the content indicating the source, I thought that was kind of safty tip and tried to figure out how to do it. they use a service called Tynt. That’s cool and all, but I wanted to see if I could make it happen using JavaScript. All I needed my function to do was grab the copied selection, tack on a copyright notice and then add the two to the clipboard.




How To Add A Copyright Notice To Copied Text

1. Go To Blogger.com > Select Your Blog > Template
2.  Tick the box "Expand widgets templates"
3. Search for the Head ending Tag </head>
4. And Paste Just Above to Below code

<!-- Add @copyright Code During Coping By ITW (http://itwebister.blogspot.com/2013/03/how-to-add-copyright-notice-to-copied.html) -->

<script type='text/javascript'>
function addLink() {
    var body_element = document.getElementsByTagName(&#39;body&#39;)[0];
    var selection;
    selection = window.getSelection();
    var pagelink = &quot;<br/><br/> ITWebister Copyright &#169;. All Rights Reserved. Strict No Copy Policy Read more at: <a href='&quot;+document.location.href+&quot;'>&quot;+document.location.href+&quot;</a><br/> &quot;; // change this if you want
    var copytext = selection + pagelink;
    var newdiv = document.createElement(&#39;div&#39;);
    newdiv.style.position=&#39;absolute&#39;;
    newdiv.style.left=&#39;-99999px&#39;;
    body_element.appendChild(newdiv);
    newdiv.innerHTML = copytext;
    selection.selectAllChildren(newdiv);
    window.setTimeout(function() {
        body_element.removeChild(newdiv);
    },0);
}
document.oncopy = addLink;
</script>

<!-- End Add @copyright Code During Copien By ITW (http://itwebister.blogspot.com/2013/03/how-to-add-copyright-notice-to-copied.html) -->


5. Change " ITWebister Copyright. All Rights Reserved. Strict No Copy Policy Read more at:" With Your desired content.
6. do not delete "&#169;" this is copyright sign.

You Are Done.


Please Comment Your Opinion
Read More »

Friday, 15 February 2013

Engage Your Visitors In Playing Tic Tac Toe Game

0 comments Posted by Imran at 13:10
Let your visitors play Tic-Tac-Toe game on your Blogspot/blogger blogs! Engaging your Visitors to play Game on your blogg/website is such a good deal for SEO, and Alexa rank, Engaging readers in an interactive activity like a game will help In Increasing your page bounce rate and will also provide fun to your regular readers or blog visitors.
I came across a simple javascript that uses array to program a simple tictactoe game where a visitor can play with computer bot.
The game uses artificial intelligence to guess important moves to knock a player down.
I guess this would surely be welcomed by all your visitors.


How To Install Tic Tac Toe On Blogger?


We simple need to paste a large code inside the HTML/Javascript in order to embede the game inside a website or webpage.

  1.     Go to Blogger > Layout > Add A Gadget > Html/Javascript
  2.     Give your Widget a title Like Enjoy The Game Or Take Rest
  3.     Add the following code inside the HTML/Javascrips Body section

<script>



//if IE4/NS6, apply style
if (document.all||document.getElementById){
document.write('<style>.tictac{')
document.write('width:50px;height:50px;')
document.write('}</style>')
}

var sqr1
var sqr2
var sqr3
var sqr4
var sqr5
var sqr6
var sqr7
var sqr8
var sqr9
var sqr1T = 0
var sqr2T = 0
var sqr3T = 0
var sqr4T = 0
var sqr5T = 0
var sqr6T = 0
var sqr7T = 0
var sqr8T = 0
var sqr9T = 0
var moveCount = 0
var turn = 0
var mode = 1

function vari()
{
sqr1 = document.tic.sqr1.value
sqr2 = document.tic.sqr2.value
sqr3 = document.tic.sqr3.value
sqr4 = document.tic.sqr4.value
sqr5 = document.tic.sqr5.value
sqr6 = document.tic.sqr6.value
sqr7 = document.tic.sqr7.value
sqr8 = document.tic.sqr8.value
sqr9 = document.tic.sqr9.value
}
function check()
{
  if(sqr1 == " X " && sqr2 == " X " && sqr3 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else if(sqr4 == " X " && sqr5 == " X " && sqr6 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else if(sqr7 == " X " && sqr8 == " X " && sqr9 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else if(sqr1 == " X " && sqr5 == " X " && sqr9 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else if(sqr1 == " X " && sqr4 == " X " && sqr7 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else if(sqr2 == " X " && sqr5 == " X " && sqr8 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else if(sqr3 == " X " && sqr6 == " X " && sqr9 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else if(sqr1 == " X " && sqr5 == " X " && sqr9 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else if(sqr3 == " X " && sqr5 == " X " && sqr7 == " X ")
  {
    alert("You Win!")
    reset()
  }
  else
  {
    winCheck()
    check2()
    drawCheck() 
  }
}

function check2()
{
  vari()
  drawCheck()
  if(sqr1 == " O " && sqr2 == " O " && sqr3 == " O ")
  {
    alert("You Lose!")
    reset()
  }
  else if(sqr4 == " O " && sqr5 == " O " && sqr6 == " O ")
  {
    alert("You Lose!")
    reset()
  }
  else if(sqr7 == " O " && sqr8 == " O " && sqr9 == " O ")
  {
    alert("You Lose!")
    reset()
  }
  else if(sqr1 == " O " && sqr5 == " O " && sqr9 == " O ")
  {
    alert("You Lose!")
    reset()
  }
  else if(sqr1 == " O " && sqr4 == " O " && sqr7 == " O ")
  {
    alert("You Lose!")
    reset()
  }
  else if(sqr2 == " O " && sqr5 == " O " && sqr8 == " O ")
  {
    alert("You Lose!")
    reset()
  }
  else if(sqr3 == " O " && sqr6 == " O " && sqr9 == " O ")
  {
    alert("You Lose!")
    reset()
  }
  else if(sqr1 == " O " && sqr5 == " O " && sqr9 == " O ")
  {
    alert("You Lose!")
    reset()
  }
  else if(sqr3 == " O " && sqr5 == " O " && sqr7 == " O ")
  {
    alert("You Lose!")
    reset()
  }
}

function player1Check()
{
  if(sqr1 == " X " && sqr2 == " X " && sqr3 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else if(sqr4 == " X " && sqr5 == " X " && sqr6 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else if(sqr7 == " X " && sqr8 == " X " && sqr9 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else if(sqr1 == " X " && sqr5 == " X " && sqr9 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else if(sqr1 == " X " && sqr4 == " X " && sqr7 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else if(sqr2 == " X " && sqr5 == " X " && sqr8 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else if(sqr3 == " X " && sqr6 == " X " && sqr9 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else if(sqr1 == " X " && sqr5 == " X " && sqr9 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else if(sqr3 == " X " && sqr5 == " X " && sqr7 == " X ")
  {
    alert("Player 1 wins!")
    reset()
  }
  else
  {
    player2Check()
    drawCheck() 
  }
}

function player2Check()
{
  vari()
  drawCheck()
  if(sqr1 == " O " && sqr2 == " O " && sqr3 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
  else if(sqr4 == " O " && sqr5 == " O " && sqr6 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
  else if(sqr7 == " O " && sqr8 == " O " && sqr9 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
  else if(sqr1 == " O " && sqr5 == " O " && sqr9 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
  else if(sqr1 == " O " && sqr4 == " O " && sqr7 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
  else if(sqr2 == " O " && sqr5 == " O " && sqr8 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
  else if(sqr3 == " O " && sqr6 == " O " && sqr9 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
  else if(sqr1 == " O " && sqr5 == " O " && sqr9 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
  else if(sqr3 == " O " && sqr5 == " O " && sqr7 == " O ")
  {
    alert("Player 2 wins!")
    reset()
  }
}

function drawCheck()
{
  vari()
  moveCount = sqr1T + sqr2T + sqr3T + sqr4T + sqr5T + sqr6T + sqr7T + sqr8T + sqr9T
  if(moveCount == 9)
  {
    reset()
    alert("Draw")
  }
}

function winCheck()
{
  check2()
  if(sqr1 == " O " && sqr2 == " O " && sqr3T == 0 && turn == 1)
  {
    document.tic.sqr3.value = " O "
    sqr3T = 1;
    turn = 0;
  }
  else if(sqr2 == " O " && sqr3 == " O " && sqr1T == 0 && turn == 1)
  {
    document.tic.sqr1.value = " O "
    sqr1T = 1;
    turn = 0;
  }
  else if(sqr4 == " O " && sqr5 == " O " && sqr6T == 0 && turn == 1)
  {
    document.tic.sqr6.value = " O "
    sqr6T = 1;
    turn = 0;
  }
  else if(sqr5 == " O " && sqr6 == " O " && sqr4T == 0 && turn == 1)
  {
    document.tic.sqr4.value = " O "
    sqr4T = 1;
    turn = 0;
  }
  else if(sqr7 == " O " && sqr8 == " O " && sqr9T == 0 && turn == 1)
  {
    document.tic.sqr9.value = " O "
    sqr9T = 1;
    turn = 0;
  }
  else if(sqr8 == " O " && sqr9 == " O " && sqr7T == 0 && turn == 1)
  {
    document.tic.sqr7.value = " O "
    sqr7T = 1;
    turn = 0;
  }
  else if(sqr1 == " O " && sqr5 == " O " && sqr9T == 0 && turn == 1)
  {
    document.tic.sqr9.value = " O "
    sqr9T = 1;
    turn = 0;
  }
  else if(sqr5 == " O " && sqr9 == " O " && sqr1T == 0 && turn == 1)
  {
    document.tic.sqr1.value = " O "
    sqr1T = 1;
    turn = 0;
  }
  else if(sqr3 == " O " && sqr5 == " O " && sqr7T == 0 && turn == 1)
  {
    document.tic.sqr7.value = " O "
    sqr7T = 1;
    turn = 0;
  }
  else if(sqr7 == " O " && sqr5 == " O " && sqr3T == 0 && turn == 1)
  {
    document.tic.sqr3.value = " O "
    sqr3T = 1;
    turn = 0;
  }
  else if(sqr1 == " O " && sqr3 == " O " && sqr2T == 0 && turn == 1)
  {
    document.tic.sqr2.value = " O "
    sqr2T = 1;
    turn = 0;
  }
  else if(sqr4 == " O " && sqr6 == " O " && sqr5T == 0 && turn == 1)
  {
    document.tic.sqr5.value = " O "
    sqr5T = 1;
    turn = 0;
  }
  else if(sqr7 == " O " && sqr9 == " O " && sqr8T == 0 && turn == 1)
  {
    document.tic.sqr8.value = " O "
    sqr8T = 1;
    turn = 0;
  }
  else if(sqr1 == " O " && sqr7 == " O " && sqr4T == 0 && turn == 1)
  {
    document.tic.sqr4.value = " O "
    sqr4T = 1;
    turn = 0;
  }
  else if(sqr2 == " O " && sqr8 == " O " && sqr5T == 0 && turn == 1)
  {
    document.tic.sqr5.value = " O "
    sqr5T = 1;
    turn = 0;
  }
  else if(sqr3 == " O " && sqr9 == " O " && sqr6T == 0 && turn == 1)
  {
    document.tic.sqr6.value = " O "
    sqr6T = 1;
    turn = 0;
  }
  else if(sqr1 == " O " && sqr5 == " O " && sqr9T == 0 && turn == 1)
  {
    document.tic.sqr9.value = " O "
    sqr9T = 1;
    turn = 0;
  }
  else if(sqr4 == " O " && sqr7 == " O " && sqr1T == 0 && turn == 1)
  {
    document.tic.sqr1.value = " O "
    sqr1T = 1;
    turn = 0;
  }
  else if(sqr5 == " O " && sqr8 == " O " && sqr2T == 0 && turn == 1)
  {
    document.tic.sqr2.value = " O "
    sqr2T = 1;
    turn = 0;
  }
  else if(sqr6 == " O " && sqr9 == " O " && sqr3T == 0 && turn == 1)
  {
    document.tic.sqr3.value = " O "
    sqr3T = 1;
    turn = 0;
  }
  else if(sqr1 == " O " && sqr4 == " O " && sqr7T == 0 && turn == 1)
  {
    document.tic.sqr7.value = " O "
    sqr7T = 1;
    turn = 0;
  }
  else if(sqr2 == " O " && sqr5 == " O " && sqr8T == 0 && turn == 1)
  {
    document.tic.sqr8.value = " O "
    sqr8T = 1;
    turn = 0;
  }
  else if(sqr3 == " O " && sqr6 == " O " && sqr9T == 0 && turn == 1)
  {
    document.tic.sqr9.value = " O "
    sqr9T = 1;
    turn = 0;
  }
  else if(sqr1 == " O " && sqr9 == " O " && sqr5T == 0 && turn == 1)
  {
    document.tic.sqr5.value = " O "
    sqr5T = 1;
    turn = 0;
  }
  else if(sqr3 == " O " && sqr7 == " O " && sqr5T == 0 && turn == 1)
  {
    document.tic.sqr5.value = " O "
    sqr5T = 1;
    turn = 0;
  }
  else
  {
    computer()
  }
  check2()
}
function computer()
{
  check2()
  if(sqr1 == " X " && sqr2 == " X " && sqr3T == 0 && turn == 1)
  {
    document.tic.sqr3.value = " O "
    sqr3T = 1;
    turn = 0;
  }
  else if(sqr2 == " X " && sqr3 == " X " && sqr1T == 0 && turn == 1)
  {
    document.tic.sqr1.value = " O "
    sqr1T = 1;
    turn = 0;
  }
  else if(sqr4 == " X " && sqr5 == " X " && sqr6T == 0 && turn == 1)
  {
    document.tic.sqr6.value = " O "
    sqr6T = 1;
    turn = 0;
  }
  else if(sqr5 == " X " && sqr6 == " X " && sqr4T == 0 && turn == 1)
  {
    document.tic.sqr4.value = " O "
    sqr4T = 1;
    turn = 0;
  }
  else if(sqr7 == " X " && sqr8 == " X " && sqr9T == 0 && turn == 1)
  {
    document.tic.sqr9.value = " O "
    sqr9T = 1;
    turn = 0;
  }
  else if(sqr8 == " X " && sqr9 == " X " && sqr7T == 0 && turn == 1)
  {
    document.tic.sqr7.value = " O "
    sqr7T = 1;
    turn = 0;
  }
  else if(sqr1 == " X " && sqr5 == " X " && sqr9T == 0 && turn == 1)
  {
    document.tic.sqr9.value = " O "
    sqr9T = 1;
    turn = 0;
  }
  else if(sqr5 == " X " && sqr9 == " X " && sqr1T == 0 && turn == 1)
  {
    document.tic.sqr1.value = " O "
    sqr1T = 1;
    turn = 0;
  }
  else if(sqr3 == " X " && sqr5 == " X " && sqr7T == 0 && turn == 1)
  {
    document.tic.sqr7.value = " O "
    sqr7T = 1;
    turn = 0;
  }
  else if(sqr7 == " X " && sqr5 == " X " && sqr3T == 0 && turn == 1)
  {
    document.tic.sqr3.value = " O "
    sqr3T = 1;
    turn = 0;
  }
  else if(sqr1 == " X " && sqr3 == " X " && sqr2T == 0 && turn == 1)
  {
    document.tic.sqr2.value = " O "
    sqr2T = 1;
    turn = 0;
  }
  else if(sqr4 == " X " && sqr6 == " X " && sqr5T == 0 && turn == 1)
  {
    document.tic.sqr5.value = " O "
    sqr5T = 1;
    turn = 0;
  }
  else if(sqr7 == " X " && sqr9 == " X " && sqr8T == 0 && turn == 1)
  {
    document.tic.sqr8.value = " O "
    sqr8T = 1;
    turn = 0;
  }
  else if(sqr1 == " X " && sqr7 == " X " && sqr4T == 0 && turn == 1)
  {
    document.tic.sqr4.value = " O "
    sqr4T = 1;
    turn = 0;
  }
  else if(sqr2 == " X " && sqr8 == " X " && sqr5T == 0 && turn == 1)
  {
    document.tic.sqr5.value = " O "
    sqr5T = 1;
    turn = 0;
  }
  else if(sqr3 == " X " && sqr9 == " X " && sqr6T == 0 && turn == 1)
  {
    document.tic.sqr6.value = " O "
    sqr6T = 1;
    turn = 0;
  }
  else if(sqr1 == " X " && sqr5 == " X " && sqr9T == 0 && turn == 1)
  {
    document.tic.sqr9.value = " O "
    sqr9T = 1;
    turn = 0;
  }
  else if(sqr4 == " X " && sqr7 == " X " && sqr1T == 0 && turn == 1)
  {
    document.tic.sqr1.value = " O "
    sqr1T = 1;
    turn = 0;
  }
  else if(sqr5 == " X " && sqr8 == " X " && sqr2T == 0 && turn == 1)
  {
    document.tic.sqr2.value = " O "
    sqr2T = 1;
    turn = 0;
  }
  else if(sqr6 == " X " && sqr9 == " X " && sqr3T == 0 && turn == 1)
  {
    document.tic.sqr3.value = " O "
    sqr3T = 1;
    turn = 0;
  }
  else if(sqr1 == " X " && sqr4 == " X " && sqr7T == 0 && turn == 1)
  {
    document.tic.sqr7.value = " O "
    sqr7T = 1;
    turn = 0;
  }
  else if(sqr2 == " X " && sqr5 == " X " && sqr8T == 0 && turn == 1)
  {
    document.tic.sqr8.value = " O "
    sqr8T = 1;
    turn = 0;
  }
  else if(sqr3 == " X " && sqr6 == " X " && sqr9T == 0 && turn == 1)
  {
    document.tic.sqr9.value = " O "
    sqr9T = 1;
    turn = 0;
  }
  else if(sqr1 == " X " && sqr9 == " X " && sqr5T == 0 && turn == 1)
  {
    document.tic.sqr5.value = " O "
    sqr5T = 1;
    turn = 0;
  }
  else if(sqr3 == " X " && sqr7 == " X " && sqr5T == 0 && turn == 1)
  {
    document.tic.sqr5.value = " O "
    sqr5T = 1;
    turn = 0;
  }
  else
  {
    AI()
  }
  check2()
}

function AI()
{
  vari()
  if(document.tic.sqr5.value == "     " && turn == 1)
  {
    document.tic.sqr5.value = " O "
    turn = 0
    sqr5T = 1
  }
  else if(document.tic.sqr1.value == "     " && turn == 1)
  {
    document.tic.sqr1.value = " O "
    turn = 0
    sqr1T = 1
  }
  else if(document.tic.sqr9.value == "     " && turn == 1)
  {
    document.tic.sqr9.value = " O "
    turn = 0
    sqr9T = 1
  }
  else if(document.tic.sqr6.value == "     " && turn == 1)
  {
    document.tic.sqr6.value = " O "
    turn = 0
    sqr6T = 1
  }
  else if(document.tic.sqr2.value == "     " && turn == 1)
  {
    document.tic.sqr2.value = " O "
    turn = 0
    sqr2T = 1
  }
  else if(document.tic.sqr8.value == "     " && turn == 1)
  {
    document.tic.sqr8.value = " O "
    turn = 0
    sqr8T = 1
  }
  else if(document.tic.sqr3.value == "     " && turn == 1)
  {
    document.tic.sqr3.value = " O "
    turn = 0
    sqr3T = 1
  }
  else if(document.tic.sqr7.value == "     " && turn == 1)
  {
    document.tic.sqr7.value = " O "
    turn = 0
    sqr7T = 1
  }
  else if(document.tic.sqr4.value == "     " && turn == 1)
  {
    document.tic.sqr4.value = " O "
    turn = 0
    sqr4T = 1
  }
  check2()
}

function reset()
{
  document.tic.sqr1.value = "     "
  document.tic.sqr2.value = "     "
  document.tic.sqr3.value = "     "
  document.tic.sqr4.value = "     "
  document.tic.sqr5.value = "     "
  document.tic.sqr6.value = "     "
  document.tic.sqr7.value = "     "
  document.tic.sqr8.value = "     "
  document.tic.sqr9.value = "     "
  sqr1T = 0
  sqr2T = 0
  sqr3T = 0
  sqr4T = 0
  sqr5T = 0
  sqr6T = 0
  sqr7T = 0
  sqr8T = 0
  sqr9T = 0
  vari()
  turn = 0
  moveCount = 0
}

function resetter()
{
  reset()
}
</script>

<form name="tic">
<input type="button" name="sqr1" class="tictac" value="     " onclick="if(document.tic.sqr1.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr1.value = &#39; X &#39;; sqr1T = 1; turn = 1; vari(); check();} else if(document.tic.sqr1.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr1.value = &#39; X &#39;; sqr1T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr1.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr1.value = &#39; O &#39;; sqr1T = 1; turn = 1; vari(); player1Check()} drawCheck()" />
<input type="button" name="sqr2" class="tictac" value="     " onclick="if(document.tic.sqr2.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr2.value = &#39; X &#39;; sqr2T = 1; turn = 1; vari(); check();} else if(document.tic.sqr2.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr2.value = &#39; X &#39;; sqr2T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr2.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr2.value = &#39; O &#39;; sqr2T = 1; turn = 1; vari(); player1Check()} drawCheck()" />
<input type="button" name="sqr3" class="tictac" value="     " onclick="if(document.tic.sqr3.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr3.value = &#39; X &#39;; sqr3T = 1; turn = 1; vari(); check();} else if(document.tic.sqr3.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr3.value = &#39; X &#39;; sqr3T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr3.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr3.value = &#39; O &#39;; sqr3T = 1; turn = 1; vari(); player1Check()} drawCheck()" /><br />
<input type="button" name="sqr4" class="tictac" value="     " onclick="if(document.tic.sqr4.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr4.value = &#39; X &#39;; sqr4T = 1; turn = 1; vari(); check();} else if(document.tic.sqr4.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr4.value = &#39; X &#39;; sqr4T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr4.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr4.value = &#39; O &#39;; sqr4T = 1; turn = 1; vari(); player1Check()} drawCheck()" />
<input type="button" name="sqr5" class="tictac" value="     " onclick="if(document.tic.sqr5.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr5.value = &#39; X &#39;; sqr5T = 1; turn = 1; vari(); check();} else if(document.tic.sqr5.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr5.value = &#39; X &#39;; sqr5T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr5.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr5.value = &#39; O &#39;; sqr5T = 1; turn = 1; vari(); player1Check()} drawCheck()" />
<input type="button" name="sqr6" class="tictac" value="     " onclick="if(document.tic.sqr6.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr6.value = &#39; X &#39;; sqr6T = 1; turn = 1; vari(); check();} else if(document.tic.sqr6.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr6.value = &#39; X &#39;; sqr6T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr6.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr6.value = &#39; O &#39;; sqr6T = 1; turn = 1; vari(); player1Check()} drawCheck()" /><br />
<input type="button" name="sqr7" class="tictac" value="     " onclick="if(document.tic.sqr7.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr7.value = &#39; X &#39;; sqr7T = 1; turn = 1; vari(); check();} else if(document.tic.sqr7.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr7.value = &#39; X &#39;; sqr7T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr7.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr7.value = &#39; O &#39;; sqr7T = 1; turn = 1; vari(); player1Check()} drawCheck()" />
<input type="button" name="sqr8" class="tictac" value="     " onclick="if(document.tic.sqr8.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr8.value = &#39; X &#39;; sqr8T = 1; turn = 1; vari(); check();} else if(document.tic.sqr8.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr8.value = &#39; X &#39;; sqr8T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr8.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr8.value = &#39; O &#39;; sqr8T = 1; turn = 1; vari(); player1Check()} drawCheck()" />
<input type="button" name="sqr9" class="tictac" value="     " onclick="if(document.tic.sqr9.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 1) {document.tic.sqr9.value = &#39; X &#39;; sqr9T = 1; turn = 1; vari(); check();} else if(document.tic.sqr9.value == &#39;     &#39; &amp;&amp; turn == 1 &amp;&amp; mode == 2) {document.tic.sqr9.value = &#39; X &#39;; sqr9T = 1; turn = 0; vari(); player1Check()} else if(document.tic.sqr9.value == &#39;     &#39; &amp;&amp; turn == 0 &amp;&amp; mode == 2) {document.tic.sqr9.value = &#39; O &#39;; sqr9T = 1; turn = 1; vari(); player1Check()} drawCheck()" />
<br /><a href="www.itwebister.blogspot.com" rel="dofollow">For More Blog/Website Widgets</a></form>

4. Save Widget And You Are Done

Please Like it or +1'd in order to share this beautiful game with your friends.
Read More »

Wednesday, 28 November 2012

How To Add Advertise Here Banner In Blogger SideBar

0 comments Posted by Imran at 11:40
Now add advertise here banner in blogger sidebar with your contact link so that advertiser can contact you for advertising in your blog easily now.














 How To Add Addvertise Here Banner In Blogspot



 I am going to explain two methods to add addvertise here banner with your Contact Link,


1st Method



Follow simple and easy step to adding this widget in your blog sidebar ---->>>>

* First go to your Desired blogger Dashboard.

* Now click in Template tab and edit HTML and click on Preceed.

* Click in small box to expand your blogger Template.

* Find this code ]]</b:skin> by CTRL+F key.

* Copy below code and paste before ]]</b:skin>


/*----------BANNER 125x125-----------*/
.banner{
margin: 0px 0 20px 0;
padding: 0;
width:300px;
float:left;
}
.banner ul {
margin: 0px 0px;
padding: 0px 0px;
overflow: auto;
}
.banner li{
height:125px;
width:125px;
margin: 6px 6px ;
padding:5px 5px;
list-style:none;
display : block;
display:inline;
float:right;
background:#444;
}
.banner li a:link, .banner li a:visited {
text-decoration: none;
}

* Now go to Blogger Dashboard and click in Layout.

* Now you are here --->>> Page element.

* Now click in Add gadget which is in your blogger Sidebar.

* When open new window click in HTML/Javascript from list.

* When open new blank box copy below code and paste in blank box

<div class='banner'>
<ul>
<li>
<a href='YOUR CONTACT URL HERE' rel='ADVERTISING' title=''><img alt='' src='http://santabanta.mywapblog.com/files/advertise-125x125.png'/></a>
</li>
<li>
<a href='YOUR CONTACT URL HERE' rel='ADVERTISING' title=''><img alt='' src='http://santabanta.mywapblog.com/files/advertise-125x125.png'/></a>
</li>
<li>
<a href='YOUR CONTACT URL HERE' rel='ADVERTISING' title=''><img alt='' src='http://santabanta.mywapblog.com/files/advertise-125x125.png'/></a>
</li>
<li>
<a href='YOUR CONTACT URL HERE' rel='ADVERTISING' title=''><img alt='' src='http://santabanta.mywapblog.com/files/advertise-125x125.png'/></a>
</li>
</ul>

</div>

NOTE:- Change in above code YOUR CONTACT URL with your own ok

* Now click to save your HTML/Javascript and now you are done.


2nd Method


Here I am going to start with The origin so dont use above step, if you are going to use this one. . .

* first of all go to your desired blog,

* Now Go To Layout

* Now click in Add gadget which is in your blogger Sidebar.

* When open new window click in HTML/Javascript from list.

* When open new blank box copy below code and paste in blank box.


<!-- Advertisment Here 1 --> 

<a href="YOUR CONTACT URL"><img src="http://i1079.photobucket.com/albums/w507/irmemon225/advertise-125x125.png" /></a>
&nbsp;
<!-- End Advertisment Here 1 -->

<!-- Advertisment Here 2 -->
&nbsp;

<a href="YOUR CONTACT URL"><img src="http://i1079.photobucket.com/albums/w507/irmemon225/advertise-125x125.png" /></a>

<!-- End Advertisment Here 2 -->

<br />

<!-- Advertisment Here 3 -->

<a href="YOUR CONTACT URL"><img src="http://i1079.photobucket.com/albums/w507/irmemon225/advertise-125x125.png" /></a>
&nbsp;
<!-- End Advertisment Here 3 -->

<!-- Advertisment Here 4 -->
&nbsp;

<a href="YOUR CONTACT URL"><img src="http://i1079.photobucket.com/albums/w507/irmemon225/advertise-125x125.png" /></a>

<!-- End Advertisment Here 4 -->


This Method Is Prety Simple, that i recomended to you!

NOTE:- Change in above code YOUR CONTACT URL with your own ok

* Now click to save your HTML/Javascript and now you are done.

Read More »

Sunday, 18 November 2012

How to Make your Blogger Blog ready for Mobile Phones

0 comments Posted by Imran at 06:10
As you know, millions of people use their mobile phones to access internet. The mobile internet speed is also very fast these days with 3G's , mobile apps,etc.

From this, we can say many of your readers are coming to your blog through mobile phones..But, if you don't make your blog mobile friendly, .you may lose all your mobile readers because in a mobile phone, a normal blog takes lot of time to load and there are other issues that your site not fitting properly in the mobile screen.

So, here is how to make your Blogger (blogspot) blog mobile internet friendly..





 How to Make your Blogger Blog ready for Mobile Phones

1. Sign into your Blogger account > Design > Edit html

Find this line..

<b:include data='blog' name='all-head-content'/>
 Paste this code below that line...

<meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/>

<b:if cond='data:blog.isMobile'>

<meta content='width=device-width, initial-scale=1.0, user-scalable=0' name='viewport'/>

<b:else/>

<meta content='width=1100' name='viewport'/>

</b:if>
Save the Changes!

That's it! Now, your visitors can access your blogger blog through mobile phones with blazing speed...

Read More »
 

Popular Posts

© 2011. All Rights Reserved | ITWebister | Template by Blogger Widgets

Home | About | Top ▲