Posts Tagged ‘examples’

video-icon

HTML5 Video and JavaScript

After an article about the audio, it’s time to write also about HTML5 Video. Working with HTML5 Video The <video> element of HTML5 specification allows the user to play videos in the browser without installing additional plug-ins. Example of use: As in the case of audio, we can add the controls attribute, to show the […]

chart-logo

Charts in JavaScript and HTML5

While working on various projects, sometimes we need to display the data on charts. Currently showing a chart in the browser is not a problem. We can develop own solution or take advantage of the ready-made and tested solutions. Creating charts in JavaScript and HTML5 Let’s do a little review of the proven solutions. jqPlot […]

painting

HTML5 Canvas, JavaScript and operations on images

Some time ago we got a small job. The subject: small research and creation of simple on-line editor for images, which should be editable from HTML5 Canvas and JavaScript level. Then the user should be able to save / send the final image. Today we present the basic elements and some examples related to this […]

jquery-logo2

Creating jQuery plugins – our own extensions in practice

Today we present another tutorial about creating jQuery plugins, from practical point of view. Creating jQuery plugins – further steps The development of a plugin may be in a way as shown below. We define the elements – options and functions: Let’s do something practical, by adding more code. Example – our own jQuery plugin: […]

learning

Creating jQuery plugins – an introduction

The jQuery is a very popular framework. By using it, we very often also use plug-ins, which is really a lot. And we could say, that they are one of the strongest features of this library. Tutorial: creating jQuery plugins Plugin is an elegant and practical solution to implement the code based on jQuery, that […]

jQuery mobile

Learning jQuery Mobile – dialogs, panels, list. Summary.

Today we focus on further learning jQuery Mobile. We will discuss elements such as dialogs and lists. Learning jQuery Mobile – next steps We start with an important UI element – dialogs. Basically, as in other cases, we rely on the definition of attributes for items. For example: To see the jQuery Mobile dialogs in […]

jQuery mobile

Forms in jQuery Mobile

We continue mastering of jQuery Mobile through implementation of examples. The forms are today’s subject. Forms in jQuery Mobile In this case we work normally, by adding HTML5 elements and attributes. The following example shows a simple form elements (inputs) of various types: A sample view in the Opera Mobile Emulator: A full example here. […]

i_phone_icon

Learning jQuery Mobile – UI, buttons, icons, transition effects

Today another tutorial and further learning jQuery Mobile, through the implementation of examples. Learning jQuery Mobile We’ll start with buttons and icons. The basic example below – creating a button and adding CSS class: In the previous article we talked about pages and transitions between them. The transition was initiated after clicking on a link. […]

html5_e

HTML5 custom attributes – define own attributes!

Do you want something great? No problem – in HTML5 we can find a lot of great things. You probably know that HTML5 introduces new elements, but it’s not everything! We can define HTML5 custom attributes – new, our own attributes, adjusted for our needs. HTML5 custom attributes The data-* attributes are used to store […]

good3

Upload files in JavaScript

Today’s point is about how to perform file upload in JavaScript. OK – with a small help of other technologies, however, it’s about a single, cohesive and working solution. Upload files in JavaScript A basic file upload can be done in a simple manner. Just HTML file input and few lines of PHP code to […]