Archive for the ‘JavaScript’ Category

Page 1 of 512345

Understanding jQuery animate() function

jQuery animate() function is very powerful API to manipulate html elements and add animation functionality. The use of animate function is very simple. First lets check the syntax of this function. .animate( properties, , , ) properties: A map of CSS properties that the animation will move toward. duration: A string or number determining how long the animation ... Full story

JavaScript Array Remove an Element

JavaScript Array Remove an Element
Following is an example of JavaScript where we will remove elements from an array with Index and Value. There are different methods in JavaScript that we can use to remove elements. We will use splice() method. Remove Array element by Index First we will see an example were we will remove array element by its index. For this we can define a generic function removeByIndex(). function removeByIndex(arr, ... Full story

oEmbed: An Open Format Every Developer Should Know About

oEmbed: An Open Format Every Developer Should Know About
Most of the internet users spend their online time in creating and sharing content on internet. Sharing has became one of the most popular activity of internet users. This is attributed to formats like RSS and services like Twitter, Facebook etc. that allows user to share content with each other. oEmbed addresses the important task of ... Full story

jQuery Resizable and Draggable Tutorial with Example

Have you ever tried doing some animation using plain Javascript or moving DIVs here and there or resizing them?! Well, you know then how much pain it is as not only you have to tackle the difficult part of animation but also making it cross browser compatible. Well you probably know why I am stretching up so ... Full story

jQuery Live Event

jQuery Live Event
I love jQuery. I have expressed my love for jQuery here, here and here and still I feel so much for it. Also check out the 20 jQuery Tips & Tricks Tutorial. Let us see a wonderful function available in jQuery which many of us don't know. Most common use of jQuery is ... Full story

Disable Back Button in Browser using JavaScript

Disable Back Button in Browser using JavaScript
Sometimes we have requirement in developing a website to disable the Back button effect from Browser. This is common in Online Banking Websites and other sites where security is of principal concern. User may hit back and navigate from the page and forget to logout. Hence sometime it is required that we disable the functionality of ... Full story

Create your own Search Engine(Interface) using Google Custom Search API

Create your own Search Engine(Interface) using Google Custom Search API
Google Custom Search API are wonderful tools to create some awesome search engine like tools. Also if you want to add a search option to your website and customize the look and feel of your search results, Google Custom Search API serve best to you. I have created a Real Time Search engine (I call it real ... Full story

Fantastic Bouncy Effect using jQuery/JavaScript

Fantastic Bouncy Effect using jQuery/JavaScript
Let us see how can we create a Bounce Effect in HTML pages using jQuery. Bounce effect is an effect which resembles bouncing of a ball on floor or on a wall. These kind of effects dramatically improve user experience. Related: FadeIn / FadeOut Effect jQuery The Goal... Full story

Default Text Label in Textbox using JavaScript/jQuery

Default Text Label in Textbox using JavaScript/jQuery
In one of my previous article about Change Form Textbox Style on Focus, we discussed about Usability and HCI issues. Slight change in web pages/input forms can increase user experience. Nowadays, it has became a common practice to give user labels on fields that they are editing. For example, if you see Google's custom search textbox ... Full story

Create Simplest Accordion Menu using jQuery

Create Simplest Accordion Menu using jQuery
Let us create a simple Accordion Menu using jQuery. Accordion Menu are the menu with some animation effect. It has few top line menu items which when clicked toggles to open sub menu options. When another top level menu is selected, other open menu will automatically collapse and save useful screen area. We will use jQuery effects to animate the accordion menu. jQuery provides ... Full story
Page 1 of 512345
Copyright © 2010 ViralPatel.net. All rights reserved.