A random number is useful- if
Learn how to generate weighed
Browsers are notorious at
In this tutorial you will
not required- in the
random numbers in
hanging on tenaciously to
learn how to show random
creation of many popular JS
JavaScript, so some show up
cached pages. This problem
images. It is just like an
applications, such as a
more often than others.
is evident in Ajax
lmage Rotator.
dice, random image script,
applications when sending
or random link generator.
XMLHTTPRequest GET requests
Learn how to generate a
to Internet Explorer. Even
random number in JavaScript.
when you use all manner of
fancy headers like
"Pragma: no-cache"
or "Cache-Control:
must-revalidate" you'll
often find that you receive
a cached page rather than a
'live' one. Here's
something else you can try,
which has worked well for
me, and essentially only
needs one line of Javascript.
Date: Aug, 08 2002 Date: Nov, 15 2004 Date: Apr, 30 2006 Date: Oct, 09 2006 |
Create the script once and
reference in any number of
ways. The example goes into
Date Stamps, News, Quotes,
etc. One file to update and
one line to include in the
HTML page.
You can use this
as a fake Server-Side
Includes to create site
navigation. You update the
one .js file to alter
navigation.
Date: Sep, 07 2004 |