Showing posts with label Blogger. Show all posts
Showing posts with label Blogger. Show all posts

Saturday, 13 July 2013

How to add online calculator in your blog

hi...!!! i'm back with blasting trick...and online calculator in your blog...yes.!! i'm not knidding yrr....let's start... if you are a realtor, real estate agent, mortgage broker , real estate professional, online store owner or write an educational blog, many of your visitors will find an on-screen calculator quite useful and you can help your customers/visitors by adding a calculator to your web site or blog.
It's easy to include a javascript web calculator among your sidebar widgets, or embed the tool in its own page. All you need to do is copy All the below Codes which i have placed in below Html Container Box. And add it to you blog or website. So Without Wasting Time Lets See How To Install Online Calculator.

Steps For How To Add Online Calculator In Website or Blog

If you Are a blogger Then Just Follow Below Steps and If you Are a Website Owner Than Just place Below Code Anywhere in your website depending on your website looks.

  • In Blogger Login to your blogger dashboard and Select your Desired Blog.

  • Now  Goto Layout > Add a Gadget.
  • And Paste Here Below Copied Code in Empty Box
<!-- This Script is from http://www.techoupdates.com, Coded by: Dheeraj Singh-->
<center>

<form name="Keypad" action="">
<table>
<b>
<table border=2 width=50 height=60 cellpadding=1 cellspacing=5>
<tr>
<td colspan=3 align=middle>
<input name="ReadOut" type="Text" size="24" value="0" width="100%" />
</td>

<td>
<input name="btnClear" type="Button" value="  C  " onclick="Clear()" />
</td>
<td><input name="btnClearEntry" type="Button" value="  CE " onclick="ClearEntry()" />

</td>
</tr>
<tr>
<td>
<input name="btnSeven" type="Button" value="  7  " onclick="NumPressed(7)" />
</td>
<td>
<input name="btnEight" type="Button" value="  8  " onclick="NumPressed(8)" />
</td>
<td>
<input name="btnNine" type="Button" value="  9  " onclick="NumPressed(9)" />
</td>
<td>
</td>
<td>
<input name="btnNeg" type="Button" value=" +/- " onclick="Neg()" />
</td>
<td>
<input name="btnPercent" type="Button" value="  % " onclick="Percent()" />
</td>
</tr>
<tr>
<td>
<input name="btnFour" type="Button" value="  4  " onclick="NumPressed(4)" />
</td>
<td>
<input name="btnFive" type="Button" value="  5  " onclick="NumPressed(5)" />
</td>
<td>
<input name="btnSix" type="Button" value="  6  " onclick="NumPressed(6)" />
</td>
<td>
</td>
<td align=middle><input name="btnPlus" type="Button" value="  +  " onclick="Operation(&#39;+&#39;)" />
</td>
<td align=middle><input name="btnMinus" type="Button" value="   -   " onclick="Operation(&#39;-&#39;)" />
</td>
</tr>
<tr>
<td>
<input name="btnOne" type="Button" value="  1  " onclick="NumPressed(1)" />
</td>
<td>
<input name="btnTwo" type="Button" value="  2  " onclick="NumPressed(2)" />
</td>
<td>
<input name="btnThree" type="Button" value="  3  " onclick="NumPressed(3)" />
</td>
<td>
</td>
<td align=middle><input name="btnMultiply" type="Button" value="  *  " onclick="Operation(&#39;*&#39;)" />
</td>
<td align=middle><input name="btnDivide" type="Button" value="   /   " onclick="Operation(&#39;/&#39;)" />
</td>
</tr>
<tr>
<td>
<input name="btnZero" type="Button" value="  0  " onclick="NumPressed(0)" />
</td>
<td>
<input name="btnDecimal" type="Button" value="   .  " onclick="Decimal()" />
</td>
<td colspan=3>
</td>
<td>
<input name="btnEquals" type="Button" value="  =  " onclick="Operation(&#39;=&#39;)" />
</td>
</tr>
</table>
</b></table>

</form>
</center>
<font face="Verdana, Arial, Helvetica" size=2>
<script language="JavaScript">
<!-- Begin
var FKeyPad = document.Keypad;
var Accumulate = 0;
var FlagNewNum = false;
var PendingOp = "";
function NumPressed (Num) {
if (FlagNewNum) {
FKeyPad.ReadOut.value  = Num;
FlagNewNum = false;
   }
else {
if (FKeyPad.ReadOut.value == "0")
FKeyPad.ReadOut.value = Num;
else
FKeyPad.ReadOut.value += Num;
   }
}
function Operation (Op) {
var Readout = FKeyPad.ReadOut.value;
if (FlagNewNum && PendingOp != "=");
else
{
FlagNewNum = true;
if ( '+' == PendingOp )
Accumulate += parseFloat(Readout);
else if ( '-' == PendingOp )
Accumulate -= parseFloat(Readout);
else if ( '/' == PendingOp )
Accumulate /= parseFloat(Readout);
else if ( '*' == PendingOp )
Accumulate *= parseFloat(Readout);
else
Accumulate = parseFloat(Readout);
FKeyPad.ReadOut.value = Accumulate;
PendingOp = Op;
   }
}
function Decimal () {
var curReadOut = FKeyPad.ReadOut.value;
if (FlagNewNum) {
curReadOut = "0.";
FlagNewNum = false;
   }
else
{
if (curReadOut.indexOf(".") == -1)
curReadOut += ".";
   }
FKeyPad.ReadOut.value = curReadOut;
}
function ClearEntry () {
FKeyPad.ReadOut.value = "0";
FlagNewNum = true;
}
function Clear () {
Accumulate = 0;
PendingOp = "";
ClearEntry();
}
function Neg () {
FKeyPad.ReadOut.value = parseFloat(FKeyPad.ReadOut.value) * -1;
}
function Percent () {
FKeyPad.ReadOut.value = (parseFloat(FKeyPad.ReadOut.value) / 100) * parseFloat(Accumulate);
}
// End -->
</script>

<font face="Tahoma"><a target="_blank" href="http://www.techoupdates.com/"><span style="font-size: 8pt; text-decoration: none">Online Calculator</span></a></font></font>

That's It You Are Done. I hope you like this post you can leave your comment here.
If you Still have any problems? Then feel free to drop your comments here.
Don't Forget To Leave Ur Valuable Comment Of Your Experience With us !!!! And Also Join Our Blog And Subscribe For Latest Updates In Ur inbox..

Solution Google Only Indexes 26 URLs In Blogspot Blog 2013

.........To be successful in your blogging career you must have to generate decent organic traffic to your blog. By the term "organic traffic" I mean the traffic which comes to your blog through search engines like Google. And for Organic Traffic Your site should be poperly indexed on google and for this you need to submit Sitemap of your site For the Seach Engines Bots to crawling your Pages. An XML, also called Google sitemap, is necessary for a blog or website which helps search engine crawlers to crawl and index content on your blog easily. By adding Google sitemap to your blogger blog, no need to ping your blog when ever you update your blogger blog. The XML Sitemap file is like a directory of all web pages that exist on your website or blog.
only 26 pages indexed why ???
Blogger blogs with .blogspot sub-domains contain an xml sitemap on them which is generated automatically and kept updated with your latest content. The sitemap of blogs with .blogspot sub-domain can be accessed at http://yourblogurl.blogspot.com/sitemap.xml and you can submit it directly to Google Webmaster Tools or anywhere else, but when you add your custom domain to your Blogger blog, the xml sitemap couldn't be accessed anymore and thus you need to manually configure XML/Google sitemap for your Blogger blog. If you Are blogspot Blogger User Then You May be Familiar With Google Webmaster Tools Issue i.e Google Webmaster Tools Indexes Only 26 URLs of Your Blogger Posts ..

So To solve this 26 URLs Google Webmaster tool Problem You Need to Change Your Sitemap URL.

To Index More Pages Quickly and Completely .To do so, follow below simple steps written Below:

  • You Need To Login to Your Blogger dashboard.
  • Now Goto Your Desired Blog in which you want to change the Sitemap.
  • Now Goto Setings > Search Preference > Scroll down Page and Edit Custom Robots.TXT Field.
  • Now in That Box Write Below Code To Submit Your Sitemap.

If your Blog Having Less That 500 URL's Then Use Below Url For SiteMap

For 500 Posts Use this URL
www.myblog.com/atom.xml?redirect=false&start-index=1&max-results=500



More Than 500 Posts Use This URL 
www.myblog.com/atom.xml?redirect=false&start-index=501&max-results=500 

More Than 1000 Posts Use this URL
www.myblog.com/atom.xml?redirect=false&start-index=1000&max-results=500 

Note : If Your Blog Having More Than 1000 or 2000 Post Than Just Change start-index value(Red Color Word) of upper sitemap to Submit Another Sitemap.
You can Directly Submit These URL's To Your Webmaster Tools Accounts According to your Post Quantity.......

You are all done! Now whenever Google will crawl your blog, it will first look robots.txt file on your blog as it always do and then will crawl your entire blog. This was the step by step guide on how to add blogger sitemap in Google Webmaster Tools. All latest posts are fetched via atom.xml on your blog and your latest content is automatically suggested to Google bot. Thus your blog content will get indexed easily.Please share this article if you find it helpful. If you have any feedback, suggestion or any query then feel free to comment below this post. Enjoy!

I hope you like this post you can leave your comment here.

If you Still have any problems? Then feel free to drop your comments here.
Don't Forget To Leave Ur Valuable Comment Of Your Experience With us !!!! And Also Join Our Blog And Subscribe For Latest Updates In Ur inbox..
Enjoy.!!! and stay connected with gprslab4u.blogspot.com..