ONE STEP TO INSTALL SIMPLE CALENDAR: 1. Copy the coding into the BODY of your HTML document. This script and many more are available free online at The JavaScript Source!! http://javascript.internet.com
Javamatic Information - sources: Australian Personal Computer Magazine |
---|
The Location Object The Location object correlates to a URL. It breaks a URL down into the following components: protocol://host:port/pathname#hash?search Each of these components can be extracted from a Location object, or can be set by assignment. It is preferred to use the href property to change the current page in a directory. Use the window.location in preference to the documentation.location as the latter will not be used in later versions.
The Math Object The Math object is an abstract JavaScript object, as it does not refer to any HTML object. It is a utility object that gives access to a number of maths-related constants and methods. Methods include trigonometric functions, rounding functions, and other general functions for manipulating numbers. The MimeType object The MimeType object represents MIME types supported by the user's browser. MimeType objects are contained within the MimeTypes array. The MimeTypes array is a property of the Navigator object. It can be referenced by using numeric indexes, or a string representing the type property (for example, 'x-world/x-vrml' for VRML). The Navigator object The Navigator object is another abstract class, representing the browser itself. The Number object The Number object is an object wrapper for JavaScript's numeric primitives. It provides support for NaN (Not a Number) and max/min value properties. The Option object Option objects are explicitly created options for Select objects (HTML selection lists). Option objects are created by using the option() constructor, and then assigning to a select list. If you dynamically add options to a select list, refresh the document using the history.go() method. optionName=new Option([text, value, defaultSelected, selected]) You can also use the HTML tag
The Password object Password objects are text fields that display asterisks in place of user-supplied text. The syntax is almost identical to that of Text objects. Using HTML, use the following syntax:
type="password" Password objects can only be used on an HTML form. The Plugin object Plugin objects are closely related to MimeType objects. A plug-in is an additional program module that allows browsers to handle special MIME types (such as audio or video). Access a list of available plug-ins using the plugins array of the Navigator object. The Radio object Radio objects are the JavaScript representation of HTML radio buttons.Radio buttons are a list of exclusive options for the user ( if you select the first option, all other options will be automatically unselected).The HTML syntax is: type="radio"
form.fred[0].(property)
The radio button is only available when placed in the form object.
Text objects are used with in the form objects.
|