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
-- 
Timothy Driscoll
molvisions - see, grasp, learn.
<http://www.molvisions.com/>
usa:north carolina:wake forest

"There's too much blood in my caffeine system."


-------------------------------------------------------
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

Reply via email to