Angel and Folks
There was an earlier discussion about the desirability of
managing without frames, so in that spirit, I put together the
following with a scrolling div - I had previously used frames with
Chime. As long as the div is 'position: absolute' and 'overflow:
auto', then it works fine (with Jmol.js):
http://www.liv.ac.uk/sbs/DNA_Topology/HelixL.htm
Cheers
Andy
ps Separate issue - this tutorial also features the
consequences of setting the centre of rotation causing the model to be
re-centred (subject of another recent discussion). I have bodged
it with various translations, but things still jump around a bit, when
it would be ideal if they stayed still.
__
Dr Andrew D.
Bates
School of Biological
Sciences
University of Liverpool
The Biosciences Building
Crown Street
Liverpool L69 7ZB
UK
Tel-(+44) (0)151 795
4563
Fax-(+44) (0)151 795
4410
Mobile-(+44) (0)797 324
7956
http://www.liv.ac.uk/~bates/
DNA Topology - Bates and
Maxwell
Available now through all good
bookshops, or direct from OUP at:
http://www.oup.co.uk/isbn/0-19-850655-4
Liverpool - European Capital of
Culture 2008
http://www.liverpool08.com/
At 6:18 pm +0100 1/3/05, Angel Herraez wrote:
Thanks to all for your prompt replies.
Tim, I wasn't referencing the applet since I am using Jmol.js, as Bob
has commented.
Bob, thanks for your extensive and very helpful reply; I know it can
be done with tables, but I didn't want to, since I like to have a
scrollable text and a common, static model. I hear everywhere that
frames are going away, but I still haven't found something that does
what you get so easily with frames. Today I have tried to do it with
DIVs, but I have gone half-mad wih it.
I already thought that it could have to do with the use of different
frames but it was working perfectly with the model in the left-side
frame (in fact, a couple of days ago I have ported a whole set of
pages using Eric's 2-frame template from Chime to Jmol).
Reading Bob, I guess the "looking for frames" routine is finding the
applet in the first frame but not in the second one. I will try to
use Bob's suggested tweak.
For the record, Miguel, I tested with Firefox 1.0 and IE6.0, both in
WinXPpro-sp2. They behave the same (I mean just for this ;-).
Thanks again. I will let you know about my progress.
-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
--
Dr Andrew D.
Bates
School of Biological
Sciences
University of Liverpool
The Biosciences Building
Crown Street
Liverpool L69 7ZB
UK
Tel-(+44) (0)151 795
4563
Fax-(+44) (0)151 795
4410
Mobile-(+44) (0)797 324
7956
http://www.liv.ac.uk/~bates/
DNA Topology - Bates and
Maxwell
Available now through all good
bookshops, or direct from OUP at:
http://www.oup.co.uk/isbn/0-19-850655-4
Liverpool - European Capital of
Culture 2008
http://www.liverpool08.com/
------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

