This weekend, I got the chance to play around with HTML5 maps by Simplemaps.com. Here are the stuff you need to know to set up HTML5 maps on your website and my thoughts on the same
7 posts in category —
javascript
Round numbers in JavaScript with precision
JavaScript has an inbuilt Math object with several useful methods that you can use to perform common mathematical operations on numbers. One of the most common tasks encountered when dealing with numbers in application development is rounding them off. For this the Math.round() method comes in handy and can be used like this: var someNumber=5.568942354894534;
Currency conversion using javascript and openexchangerates.org JSON API
In this short tutorial we will learn how to build a simple currency converter in javascript using free real-time exchange rates provided by Open Exchange Rates. This tutorial will require a basic understanding of javascript, AJAX, and the JSON data format. Lets begin!
The new Web Tools
Our nifty Web Tools service just got updated. Among the new features is the ability to generate sha-256 and sha-512 hashes. We also ported everything to javascript from php using the javascript equivalent of php functions provided by the awesome php.js project. Visit Web Tools Tools: md5 calculator sha1 calculator sha-256 generator sha-512 generator base64
Javascript function to convert decimal to fraction
A while back, while developing a small scientific calculator-like widget, I needed a function to convert a decimal value into a proper fraction form. After a lot of thinking and trial and errors, I came up with this little piece of code that worked quite well
Cufon – easy and fast text-image replacement solution
Have you ever wanted to use your own font on your website? but bothered about it being installed on your visitors system? Cufon is the solution for you, it makes possible fast and easy replacement of text with the font of your wish. It is extremely easy to set up and supports nearly all major browsers. And also it is SEO friendly .
Javascript quadratic equation solver
Here is a simple javascript that solves quadratic equations of the form ax²+bx+c = O. You just have to specify the values of a ,b and c and the script then calculates the two real roots alpha(x1) and beta (x2) of the equation. The script also tells you if the equation has a real root


