I think the reason people write pages this way is for two reasons:
a) They don't really expect people to go back in a linear tutorial.
b) It is hard to predict what state users will be coming from, and maybe you want to do different things depending on the state they come from.


I recently wrote a couple of pages which required I keep certain states stored in javascript variables (http://www.concord.org/~btinker/workbench_web/treeRoots/DNA/ DNAHbonds.htm and http://www.concord.org/~btinker/workbench_web/treeRoots/proteins/ antibodyAntigen.htm) so that I could correctly "restore" the state. However, I'm not sure I would want this automated to the point where I lose control over how I want the molecule displayed. For example, on my DNA page, when they choose "combined cartoon and ball and stick", I want to add the cartoon feature to whatever state they are in, and if they focus on only one A-T pair, then I want it to return to the full DNA sequence in the previous state. This requires that I keep track of some things myself and write the appropriate javascript.

I think most people don't do the extra javascript work when creating pages, so the state of the molecule can get screwed up when people press buttons out of order or repeatedly.

If you do implement this type of automated script generation, please make sure the ability to allow a non-sequential type of button interface will still work.

Thanks,
-Dan
On Dec 3, 2004, at 9:53 PM, [EMAIL PROTECTED] wrote:


Message: 15
Date: Fri, 3 Dec 2004 21:34:12 -0500 (EST)
From: "Miguel" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Jmol-users] Tutorial web page question
Reply-To: [EMAIL PROTECTED]

My question regards the construction of web pages for tutorials/teaching
chemsitry stuff with Jmol ... or even Chime :-O


I have seen pages where people are expected to click on the buttons *in
order*.  Either the buttons run down the side of the page, or they are
embedded in text. The student reads the text and presses the buttons.

These pages usually only work if the student presses the buttons in order=
..
That is, if they press them out of order then the state of the display is=


not correct and things get messed up.

Also, one cannot 'back up' and see a step or two repeated. Instead, one
must rewind/refresh/reload and start from the beginning.

Q: Is this a typical way of constructing pages?

I have been thinking of a way to try to automate the script generation
process so that each button would be automatically contain the appropriat=
e
state from the previous scripts. This would mean that one could click on
the buttons in any order and that the molecule would have the same
appearance and orientation that it has when the sequence is followed
sequentially from beginning to end.


Q: Would this be valuable?

I think it would be quite a bit of work for me ...

Q: Would it be *really* valuable?


Miguel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to