> -----Original Message-----
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 31, 2005 10:35 AM
> To: CF-Talk
> Subject: RE: What's wrong with the Javascript?
> 
> > An interval would be set up (say every 5 seconds) that would loop
> through
> > the fields and determine (using the new property) which have changed
> since
> > the last interval (which have been modified by the end user).
> 
> And you would want to have this information for, say, analyzing user
> interaction
> and making design / features changes based on that information?  Would
> that
> be the purpose of such programming?

It depends - you might save such information to the server in case the user
gets distracted and needs to finish the form later (it's also a good way to
capture "survey" information that's only half completed).

A game or simulation might update its status based on the users
manipulations.

You can also build a pretty damn reliable random value generator using user
input delays as the seed.  ;^)
 
> This wouldn't be for updating page content based on user input, would it?
> You're simply looking for any interactivity, not necessarily what
> information
> is involved in the interactivity, right?

Not at this level - although there's nothing to stop you from adding that
in.

It all depends on the application.

Ever play a video game like "Resident Evil" with dependency puzzles?  For
example your task is to get a bunch of pressure valves to the same value.
However touching one affects the value of the others.

You might allow your player to modify several valves at once before seeing
the value (perhaps there are bonus points for doing things in the least
number of turns).

When the processing happens it should change all of the values but it will
only set directly those touched by the player specifically.  Others will be
set automatically based on the ones set by the player.

In this case you might not use an interval but rather a player initiated
test but you might also do an interval such that the players actions have a
delayed effect on the state (which is more realistic).

I was playing with stock watchlist simulations using something like this a
while ago.  They were fun but my management didn't like the idea of
presenting people's finances as "just games".

(Also a lot of this at this level is probably more applicable to Flash
ActionScript than browser-based JavaScript anyway - but they're the same
language.)

Of course I think they were fools - games are one of the best ways to learn
anything!  ;^)

Jim Davis




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200999
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to