Monthly Archives: March 2012

Embedding audio in HTML

Inserting music onto a web page is relatively easy. In the past, multiple tags had to be used because browsers did not have a uniform standard for defining the media files. Now you can include the media files using embed

Posted in Html Tagged with: ,

HTML Doctype

The doctype declaration refers to a Document Type Definition (DTD). The doctype is an instruction to the web browser about what version of the markup language the page is written in. The doctype declaration should be the very first thing

Posted in Html Tagged with: ,

jQuery Selectors

jQuery selectors allows you to select and manipulate HTML elements as a group or as a single element. It  selects HTML elements (or groups of elements) by element name, attribute name or by content. JQUERY ELEMENT SELECTORS: It uses CSS

Posted in jQuery Tagged with: , ,

jQuery Syntax

The jQuery syntax is made for selecting HTML elements and to perform some action on those element(s). Basic syntax is: $(selector).action() A dollar sign to define jQuery A (selector) to “query (or find)” HTML elements A jQuery action() to be

Posted in jQuery Tagged with: ,

jQuery Introduction

JQuery is a type of  JavaScript library that emphasizes interaction between JavaScript and HTML. It provides easier access to the DOM model and it also simplifies the creation of animations, communicating with server, document traversing and event handling. Another striking

Posted in jQuery Tagged with: ,

PHP string captialization

Php has 3 primary captialization function strtoupper strtolower ucwords Converting the String to upper case- strtoupper() strtoupper () converts the string to upper case string For eg: OUTPUT: oldstring: hello newstring: HELLO Converting the String to lower case- strtolower() strtolower()

Posted in Php Tagged with: ,

PHP die()

Basically error handling is very simple in php. While writing the code for your applications  you might struggle to find out the errors . In  that case you can use die() to handle errors. Let us consider the following example:

Posted in Php Tagged with: ,

gettype() in php

Like other programming languages, php does not requires any  variable declaration so we can move freely with php datatypes. To view the datatype of the variable  use  gettype() function Eg1: OUTPUT 1: Name:HELLO Datatype:string Eg 2: OUTPUT 2 : Value:25

Posted in Php Tagged with: ,

Bitmap Images in Flash

Vector Graphics: Vector graphics are made up of lines and curves.It is resolution independent. Bitmap image: Bitmap image is technically called as raster images.It uses rectangular grid of  pixels to represent an image.Each pixel is assigned in a specific location

Posted in Flash Tagged with: , , , , ,

Shape Hint – Flash animation

We can have shape hints to determine how our objects will ‘morph’ from one to another.

Posted in Flash Tagged with: , , ,