JavaScript JavaScript Tutorials
RSS Ajax JavaScript tickerIn this tutorial, I'll show you how to combine RSS, Ajax, and JavaScript to create a live RSS ticker. Thanks to Ajax, the conventional roles of server side and client side programming are reversed in an application like this as JavaScript- not PHP- is used to handle much of the work, including parsing the RSS file.

|
Category: JavaScript »
JavaScript | Views: 102
Lets say you're displaying a list of student names and their grades using Tabular Data Control. The ability to sort the displayed information either by name or grade, ascending or descending when displaying it would definitely be an appreciated feature. The most natural way is to sort this data automatically when the data is first displayed on the page, and this can be accomplished by using the following <PARAM> tag:

|
Category: JavaScript »
JavaScript | Views: 113
Calculating the difference between two dates in JavaScript is relatively straightforward, provided you choose the right Date methods to work with. Whichever way you get there, the potential applications on date differences are many, from counting down to a particular event, counting up from a past date, to dynamically indicating what's new on your page. Sounds like fun!

|
Category: JavaScript »
JavaScript | Views: 164
With the ubiquity of the mouse wheel for navigating web pages comes a JavaScript event for developers to take advantage of that- the " onmousewheel " event. As its name suggests, this event fires whenever the user rotate the mouse wheel either upwards or downwards,

|
Category: JavaScript »
JavaScript | Views: 145
Error handling, like many aspects of JavaScript, has been maturing since the dark ages of Netscape and IE4. No longer are you forced to settle for what the browser throws in your face in an event of a JavaScript error, but instead can take the matter into your own hands.

|
Category: JavaScript »
JavaScript | Views: 129
Functions can call other functions, and have a value passed back to the calling line. We'll see how that works now. Once you have grasped the concept, what we're then going to do is write code to validate data that a user might enter on a form.

|
Category: JavaScript »
JavaScript | Views: 237
Opening a new window is a popular way of letting your users see additional information without navigating away from the current page. With JavaScript you can specify the dimensions, position and visible toolbars of this newly created window, as well as writing code directly into it and having the two windows operating together.

|
Category: JavaScript »
JavaScript | Views: 168
Calendar is a Javascript class that adds accessible and unobtrusive date-pickers to your form elements. This class is a compilation of many date-pickers I have implemented over the years and has been completely re-written for Mootools.

|
Category: JavaScript »
JavaScript | Views: 170
This script highlight all text in textarea or text field (input tag) by clicking on it. It allows users to reduce their manual work.

|
Category: JavaScript »
JavaScript | Views: 139
Starbox allows you to easily create all kinds of rating boxes using just one PNG image. The library is build on top of the Prototype javascript framework. For some extra effects you can add Scriptaculous as well. Check the demos below to see what Starbox is all about and read on for more information on how to customize your own Starboxes.

|
Category: JavaScript »
JavaScript | Views: 122
Draggables become much more useful when you use them with droppables, which are the areas that you can drag draggables to..

|
Category: JavaScript »
JavaScript | Views: 117