|
This is a JavaScript
This JavaScript
This JavaScript
This JavaScript
example that creates a
example shows how to
example shows how to
example demosnstrates
menu (drop down select list)
create a "dynamic"
create a form that has a
how to create small little
of all the days in the
updated field on the page.
portion of the form shown
squares that follow and
current month. The current
The updated field happens to
(or hidden) upon certain
rotate around the mouse
date is selected by default.
be a table in this example,
user events. (radio button
position.
and the background is shown
selection by the user in
to show you it's entire
this example) Note: Netscape
field. Netscape requires
has a problem with embeding
that the size of the field
a portion of a form inside a
be defined upon the page's
DIV/SPAN/LAYER, which is why
creation - IE doesn't care
there are three forms shown
and can resize the field
here, but once you have the
dependant upon the data
values, its easy enough to
placed into it as it is
pull the information
placed into it. This script
together before running the
is designed specifically for
target of the frame.
IE.
Netscape would, but
requires special if
statements to have different
accesses to the objects.
Date: Apr, 13 2001 Date: Feb, 23 2001 Date: Jan, 29 2001 Date: Dec, 18 2000 |
|
This JavaScript
This JavaScript
This is a simple
Here is a simple
example counts the
example shows how to
JavaScript example
JavaScript example
number of visits to this
open up a new window, and
for allowing users to
which will generate a simple
site (page). It uses that
write the new page. The
select/highlight a textarea
alert box based on clicking
information to send the user
contents of the new
content with a click of
a link or a form button.
directly to the correct page
window/new page contain the
button.
Useful for alerting users
on the site (via a
logic necessary to close the
for missing fields,
parameter). A test-only
window that opened it up
displaying a message on
variable should be set to
(opener is the object). It
document open or close, or
false to turn off the test
is necessary to open and
informing users they’ve
mode.
close the document object
clicked a link, etc.
before and after you write
the new contents (IE doesn't
care - but Netscape does).
Date: Dec, 08 2000 Date: Dec, 06 2000 Date: Nov, 20 2000 Date: Nov, 20 2000 |