Posts marked with "HTML5" in categories

New Theme : Light, Simple & Fast

As you can see, I changed the theme of this blog with a new theme. If you have visited css-tricks.com, you can see there are similarities to it’s theme and mine. I really liked Chris Coyer’s theme and I contacted him to lend me the theme. But, no response. So, I decided that I should create my own theme.

By WordPress Support forum, I found _s site. Underscores provide a starter theme for WordPress. It can be downloaded, make changes as we like. I downloaded it and made it in to this awesome theme. I’m calling this theme Subin’s Blog V1.

... [READ MORE]

How To Change The Browser URL Without Refreshing Page – HTML5

This post was suggested by Sumit Kumar Pradhan. I recently saw many questions like this on Stack Overflow. Let me start explaining, there is already a function in JavaScript to do this special task. The function is window.history.replaceState. It’s a simple function that needs 3 values.
This is actually a HTML5 function that came out on July 2012 (I think). All the latest browsers support the new function except IE 9.

Here is a small example of the usage of window.history.replaceState :

... [READ MORE]

Storing JSON object in HTML5 Local Storage : Stringify

This tutorial will help you to store JSON Object in LocalStorage.

This method uses a function called stringify.
Suppose we have a JSON object like this :

var data = {name:’subin’,class:’8A’};

If we want to store this JSON object in Local Storage then use the function below:

localStorage[‘info‘]=JSON.stringify(data);

That’s it. JSON Object is now stored in your Local Storage.
... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab