Skip to main content

Add Calculator to your Blogger/Wordpress (Norman/Scientific)

Add Calculator to your Blogger/Wordpress full functioning
Need a simple Calculator on your little/big eCommerce site. Here I publishing a whole simple calculator for you, what is really full functional for daily accounting works again you may add this just for fun! This calculator is entirely designed with CSS, CSS3 and given life with some script codes. Developed by CSSFlow, And I just made it useable for your Blogger and Wordpress sites. Let’s see how it looks like and how to add it to your blogs, read on-


Normal Cool Calculator


Preview-
Add Calculator to your Blogger/Wordpress full functioning

Live Demo- (Live Demo)

Codes for copy-

<!--crawlist.net calculator starts-->
<div style="height:250px; width:210px; margin:auto; padding:10px 10px; background-color:#f5f5f5;">
<style>/*crawlist.blogspot.com calculator css starts*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {   margin: 0;              }
/*
 * Copyright (c) 2012-2013 Thibaut Courouble
 * http://www.cssflow.com
 *
 * Licensed under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 */
input, button {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
::-moz-focus-inner {
  padding: 0;
  border: 0;
}
@font-face {
  font-family: 'Ubuntu Mono', ;
  font-style: normal;
  font-weight:normal;
  @import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono);
}
.ks-calculator {
  padding: 15px;
  width: 177px;
  background: #3d4543;
  border: 1px solid #222;
  border-radius: 4px;
  background-image: -webkit-linear-gradient(top, #3d4543, #2f2a2f);
  background-image: -moz-linear-gradient(top, #3d4543, #2f2a2f);
  background-image: -o-linear-gradient(top, #3d4543, #2f2a2f);
  background-image: linear-gradient(to bottom, #3d4543, #2f2a2f);
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 4px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 4px rgba(0, 0, 0, 0.5);
}
.ks-calculator-display {
  margin: 0 0 20px;
  padding: 3px;
  background: #222;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ks-calculator-display-input {
  display: block;
  width: 100%;
  height: 35px;
  padding: 0 8px;
  font: 26px/35px UbuntuMono, monospace;
  color: #444;
  text-align: right;
  background: #bccd95;
  background-clip: padding-box;
  border: 1px solid #222;
  border-radius: 2px;
  background-image: -webkit-linear-gradient(top, #bccd95, #e0f5b1);
  background-image: -moz-linear-gradient(top, #bccd95, #e0f5b1);
  background-image: -o-linear-gradient(top, #bccd95, #e0f5b1);
  background-image: linear-gradient(to bottom, #bccd95, #e0f5b1);
  -webkit-box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.ks-calculator-row {
  margin-top: 7px;
  zoom: 1;
}
.ks-calculator-row:before, .ks-calculator-row:after {
  content: '';
  display: table;
}
.ks-calculator-row:after {
  clear: both;
}
.ks-calculator-button {
  float: left;
  padding: 0;
  margin: 0 0 0 7px;
  width: 39px;
  font: 14px/23px UbuntuMono, monospace;
  color: white;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px rgba(0, 0, 0, 0.4);
  background: #313131;
  background-clip: padding-box !important;
  border: 0;
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  cursor: pointer;
  background-image: -webkit-linear-gradient(top, #313131, #1c1c1c);
  background-image: -moz-linear-gradient(top, #313131, #1c1c1c);
  background-image: -o-linear-gradient(top, #313131, #1c1c1c);
  background-image: linear-gradient(to bottom, #313131, #1c1c1c);
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ks-calculator-button:first-child {
  margin-left: 0;
}
.ks-calculator-button:active {
  background: #282828;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), 0 1px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.ks-calculator-button-gray {
  background: #6f6f6f;
  background-image: -webkit-linear-gradient(top, #6f6f6f, #515151);
  background-image: -moz-linear-gradient(top, #6f6f6f, #515151);
  background-image: -o-linear-gradient(top, #6f6f6f, #515151);
  background-image: linear-gradient(to bottom, #6f6f6f, #515151);
}
.ks-calculator-button-gray:active {
  background: #555;
}
.ks-calculator-button-red {
  background: #ff4561;
  background-image: -webkit-linear-gradient(top, #ff7286, #ff4561);
  background-image: -moz-linear-gradient(top, #ff7286, #ff4561);
  background-image: -o-linear-gradient(top, #ff7286, #ff4561);
  background-image: linear-gradient(to bottom, #ff7286, #ff4561);
}
.ks-calculator-button-red:active {
  background: #ff4561;
}
.ks-calculator-button-yellow {
  background: #ffa70c;
  background-image: -webkit-linear-gradient(top, #ffb935, #ffa70c);
  background-image: -moz-linear-gradient(top, #ffb935, #ffa70c);
  background-image: -o-linear-gradient(top, #ffb935, #ffa70c);
  background-image: linear-gradient(to bottom, #ffb935, #ffa70c);
}
.ks-calculator-button-yellow:active {
  background: #ffa70c;
}
.ks-calculator-button-big {
  font-size: 16px;
}
.lt-ie8 .ks-calculator-display-input {
  width: 152px;
}
.lt-ie7 .ks-calculator-row {
  margin-left: -7px;
}/*crawlist.net calculator css ends*/</style>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
<body>
  <form class="ks-calculator">
    <p class="ks-calculator-display">
      <input type="text" name="res" id="res" value="" class="ks-calculator-display-input" onfocus="this.blur()">
    </p>
    <p class="ks-calculator-row">
      <button type="button" class="ks-calculator-button ks-calculator-button-gray" onclick="s('Just....')">mrc</button>
      <button type="button" class="ks-calculator-button ks-calculator-button-gray" onclick="s('....do..')">m-</button>
      <button type="button" class="ks-calculator-button ks-calculator-button-gray" onclick="s('......it')">m+</button>
      <button type="button" class="ks-calculator-button ks-calculator-button-red ks-calculator-button-big" onclick="a('/')">÷</button>
    </p>
    <p class="ks-calculator-row">
      <button type="button" class="ks-calculator-button" onclick="a('7')">7</button>
      <button type="button" class="ks-calculator-button" onclick="a('8')">8</button>
      <button type="button" class="ks-calculator-button" onclick="a('9')">9</button>
      <button type="button" class="ks-calculator-button ks-calculator-button-red ks-calculator-button-big" onclick="a('*')">x</button>
    </p>
    <p class="ks-calculator-row">
      <button type="button" class="ks-calculator-button" onclick="a('4')">4</button>
      <button type="button" class="ks-calculator-button" onclick="a('5')">5</button>
      <button type="button" class="ks-calculator-button" onclick="a('6')">6</button>
      <button type="button" class="ks-calculator-button ks-calculator-button-red ks-calculator-button-big" onclick="a('-')">-</button>
    </p>
    <p class="ks-calculator-row">
      <button type="button" class="ks-calculator-button" onclick="a('1')">1</button>
      <button type="button" class="ks-calculator-button" onclick="a('2')">2</button>
      <button type="button" class="ks-calculator-button" onclick="a('3')">3</button>
      <button type="button" class="ks-calculator-button ks-calculator-button-red ks-calculator-button-big" onclick="a('+')">+</button>
    </p>
    <p class="ks-calculator-row">
      <button type="button" class="ks-calculator-button" onclick="a('0')">0</button>
      <button type="button" class="ks-calculator-button" onclick="a('.')">.</button>
      <button type="button" class="ks-calculator-button" onclick="s('')">C</button>
      <button type="button" class="ks-calculator-button ks-calculator-button-yellow ks-calculator-button-big" onclick="e()">=</button>
    </p>
  </form>
<script>
    function s(v) { document.getElementById('res').value = v }
    function a(v) { document.getElementById('res').value += v }
    function e() { try { s(eval(document.getElementById('res').value)) } catch(e) { s('Error') } }
  </script></body></html></div><!--crawlist.net calculator ends-->

Compact Scientific Calculator

Preview:-
Compact Scientific Calculator
Live Demo:- (Click here)

Codes for copy:

<!--crawlist.net calculator starts--><div id="fw_138353843297908119"><a href="https://www.formloop.com/Calculator-Widget">FormLoop Calculator</a></div>
<script type="text/javascript" src="https://d15pwioa8qyjit.cloudfront.net/js/calc_quick_c.js"></script>
<script type="text/javascript">
var pass_id='138353843297908119';
var height='320';
var width='325';
var lang_code='';
var mobile='';
formloop_cw(pass_id,width,height,lang_code,mobile);
</script>
<!--crawlist.net calculator ends-->

How to add these widget in Blogger
  • Widget area:- First log in to your Blogger, select your Blog, 
  • Go to 'Layout' tab than click 'add a gadget’
  • Select 'html/javascript' from pop up menu. 
  • Copy following codes and ‘Save gadget’.
  • Or In post:- From post editor's top (Compose/Html) 
  • Select 'Html' and copy and paste following codes.

How to add these widget in Wordpress
  • Widget area:- From dashboard hover mouse on ‘Appearance’ tab, 
  • From ‘Appearance’ menu select 'widgets', 
  • Then drag and drop 'Text' content box in widget area, 
  • Copy following codes and paste into 'text' box, 
  • For new dashboard hover mouse on ‘Appearance’ tab, 
  • From ‘Appearance’ menu click on 'Text' add it to sidebar 
  • And paste following codes and save.
  • Or In post:- From post editor's top (Post/Html) select 'Html' 
  • And copy and paste following codes.

Compatibility
  • These Calculator widget is compatible with most web browser.
  • These Calculator widget is compatible with most themes and templates. Some case if it crashes on your site remove it.
So what you think about this widget don’t forget to mention I would love to hear. New cool widget will be release soon stay connected on Facebook and Feedburner. Chill…

Comments

Popular posts from this blog

How to use Google Font in Blogger post

Your Blogger template’s default fonts are basically Ariel, Georgia, Times, Trebuchet, Helvetica. These fonts are simple and not so attractive. If your blog running with these default fonts may be you will lost some audience, those audience who care about your blog design overall too. But these default fonts can be change easily. There are lots of font provider offers web fonts what can be easily integrate to your site. Google web font is one of best web font provider. In Google font’s collection more than 650+ font with various styles you can find. Using Google font in your post, you can customize your font style more specifically, like font thickness, slant, width, line height, font weight, font script etc. Let’s add Google font in your Blogger, this process is easy and difficulty is beginner. Read on-

How to use/install Google Font in Blogger post
Step 1: Choosing Fonts
Go to Google web font (Here), See demo of font family by Word, Sentence, Paragraph. Use Filter (Left side) for find …

Add Cool Social Media Sharing icons below posts in Blogger

Change the taste of random looking social sharing button below posts in Blogger, here you can find a different and cool social media sharing widget what I named it Coldblodded! This social sharing widget loads faster than other icon base social shares, it's icons change color with mouse hover with flipping effect, it got the major social media sites share, main color is black colored what looks artistic and attractive.
Coldblodded social media sharing widget offers shares a post to Facebook, Twitter, Google plus, Pinterest and bookmark a post on Delicious, Evernote, Stumble upon, Digg, Blogger, Yahoo bookmarks additional feedburner email subscription. It made with CSS, HTML and icons uses only a piece of image what will draw all icon process calls CSS image transition CSS Sprite, This widget also reduce HTTP request unlike other icon base sharing choices. Will be fit to any kind of Blogger blog, no matter they are professional blogs, gallery or other features sites. Let's see…

How to Auto tweet and Auto post to Facebook your Blogger blog’s post

Letting your social networking fan know about your new published post instantly ‘Auto tweet and auto post to Facebook’ your post is very effective and time saving. For Wordpress - using plugin can solve this auto tweet and auto post job but Blogger doesn’t have option like this. But there is also solution exists. Let’s see what I’m talking about Auto tweet and Auto post to Facebook your blogger blog’s post.


How to Auto tweet and Auto post to Facebook your Blogger’s post

Twitter Feed, does the job easily. All you need to do is set up your blog URL at their service. Here is a quick overview: How to submit you blog at Twitter Feed for Auto tweeting and Auto posting to Facebook your Blog post.

Below walk through steps are written; just read on:-
Open an account at Twitter Feed, confirm your email, and visit dashboard.Click on ‘Create new feed’, you will direct to setup pageIn setup page ‘Name your feed’ and ‘add your source URL’ you’ll be fill up with your site’s feed. Every site has feed…

Easily Get 50000 free Backlink for your website

Backlinks are heart of SEO. Without backlink your website will not get a good position in search result and won't get indexed quickly. As you already knew there is two ways you can get backlinks one is Natural linking and another is paid or automated linking. Natural linking is worth to doing and it takes a while but if you don’t have enough time, running a professional business website and need to reach a destination quickly, automated backlinking going to be your last choice. To make automated backlinks you will need to buy paid link package or if you just don’t willing to buy links right now let’s start with free. Here such kind of free backlink maker, free backlink generator listed. And definitively you have a chance to create 50000+ free backlink for your website. But you should also remember Google doesn't like it, I mean Google doesn't recommend it at all. Read on-

+ 50000 free backlink for your websiteIndex kings
Rapid website submitter index kings it will submit y…

How to remove 'You may use these Html tags and attributes'

You may use these HTML tags and attributes makes our Wordpress comment box/form noisy, ugly and wired! Some visitor just gets shocked with these messy HTML note tag and attributes using request and don't like to comment in your site anymore. To remove this HTML tag note, all you need to embed a code phrase in to your Wordpress theme. Actually this will not really remove or delete this ugly HTML tag using request from comment form, This CSS code phrase embedding will disallow/disable HTML tag note from Wordpress comment box of your theme.

This code phrase is-

 .form-allowed-tags { display:none; }

How to remove You may use these HTML tags and attributes
I am using Twenty Fourteen Wordpress default theme for this tutorial (actually it will work on any theme because Stylesheet contains all CSS codes and this code just will disallow/hide up this comment HTML note)

Step 1 : Select the theme you use Log in to your Wordpress, From dashboard hover mouse on Appearance menu, Select 'Themes…