Thanks, Tim, I'm laughing because it's funny when you THINK you tried something and it didn't work, so you create a workaround and then only much later discover that what you really wanted to do would work just fine if you just did it right the first time!
Who knows. Something like that...
Yes, anyway,
http://www.stolaf.edu/people/hansonr/jmol/basetest/basetest2.htm
works just fine, too, unless someone tells me it doesn't. It just uses:
<link href="http://jmol.sourceforge.net/default.css" type="text/css" rel="stylesheet"> <script src="http://jmol.sourceforge.net/jmol/Jmol.js"></script>
Bob
timothy driscoll wrote:
On 2004-12-21 (17:16) Bob Hanson wrote:
OK, here you go. Did you know? Jmol.js can be on any server whatsoever, provided the base tag is set carefully?
So, if you REALLY want to be "up to date" (That is, let Miguel's fiddling with Jmol.js instantly mess up everything you have created.... -- Hey, just kidding, Miguel, but read on....)
Tell me what you think this does:
<script language=javascript>thisbase=document.location.href</script> <base href=http://jmol.sourceforge.net/jmol/> <script src="Jmol.js"></script> <script language=javascript> document.write("<base href=\""+thisbase+"\">") </script>
hi Bob,
can't you just use an absolute uri in the script tag?
<script type="text/javascript" src="http://www.mydomain.com/javascript/Jmol.js"></script>
haven't tested it, but if it works it might be more compatible.
regards,
tim
-- --
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
-------------------------------------------------------
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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users