Posts Tagged ‘JavaScript’

WYSIWYG editors in JavaScript, jQuery and HTML5

Hello! Today we present a small set of WYSIWYG editors. They are based on Javascript, of course, but also on newer possibilities offered by HTML5. WYSIWYG editors Sometimes we need to add such editor to our projects (e.g. for admin panel of CMS, product descriptions in e-commerce software, etc). There are many ready-to-use, very good […]

Compress JavaScript and CSS files

Minimizing / compression of JavaScript and CSS code is often encountered technique used to optimize the loading time by reducing weight of the file. Today we will try to briefly tell about the tools used for this purpose. Compress JavaScript and CSS code Recently someone asked me about it, so we have today’s small article. […]

A set of JavaScript tools

From time to time we publish articles about interesting and useful tools. Every day we realize different tasks, so we get to know new interesting tools. Or sometimes we find just something interesting. JavaScript tools and more OK, let’s take a look. 1. Creating beautiful presentations in HTML5 using reveal.js This simple framework is am […]

Tutorial Twitter Bootstrap

Twitter bootstrap in nutshell

Twitter Bootstrap (TB) is a CSS framework on the MIT license, developed by Twitter. It contains z set of tools to facilitate the creation the UI of pages and web applications. The framework is based mainly on ready solutions of HTML and CSS (LESS). Tutorial / Twitter bootstrap in nutshell This an excellent solution can […]

Web storage tutorial — applications that store data locally

Today we present the tutorial about creating a simple web application, which stores data in localStorage. The app will be able to save and store the settings of its own appearance. Web storage tutorial 1. Let’s start by adding jQuery and simple CSS styles for UI elements: 2. Create a simple form in the body […]

DOM Storage — JavaScript Web Storage

There is no problem with Web apps with server-side back end code, where we can for example store data in MySQL or simply — in files. Thanks to Web storage / DOM storage, our modern web application can store the data itself, and we will handle them in JavaScript. JavaScript Web Storage It is a […]

Merry Christmas! And some JavaScript :-)

I’d like to wish Merry Christmas for everyone, and a successful New Year! Also I wanted to present here a few nice JavaScript effects related with Christmas. — js1k is a challenge for developers, and here a beautiful effect of Christmas Tree: http://js1k.com/2010-xmas/demo/856 — jQuery let it snow http://www.thepetedesign.com/demos/let_it_snow_demo.html — snow but using Zepto.js https://github.com/madrobby/zepto/blob/gh-pages/let-it-snow/index.html […]

Read files in JavaScript and HTML5

Actually I met with this issue for years. However, the modern solutions allow us really to approach this issue in a meaningful way, not related to one specific browser. Read files in JavaScript and HTML5 Among the easiest ways, we can mention loading the file contents via AJAX; in case of jQuery we can use […]

HTML5 Web Messaging

Web Messaging (or cross-document messaging) it’s the API introduced to the HTML5 specification, allowing documents from various sources / domains to communicate in a secure manner. This is the basic level of security that allows to operate over the cross-site scripting protection level. HTML5 Web Messaging The basic method is postMessage, allowing to establish communication. […]

HTML5 Cache and JavaScript — how to use HTML5 cache?

Today, a few words about the issues and possibilities offered by HTML5 Cache. Working with HTML5 Cache The back end developers can associate it with a kind of caching the pages, to speed up their loading. In the case of HTML5 Cache it’s also about some other benefits. HTML5 offers caching mechanism for applications in […]