On Apr 17, 2005, at 10:08 AM, Frieda S. Reichsman wrote:

Here is some example code for a rollover image swap. It may not be the most efficient way to do it but I hope it offers enough information for you.

<snip>

Miguel, I blush-- as I have just realized how easy it is to implement this using html and the jmolScript function rather than trying to get jmolLink to behave this way:

<a href="javascript:jmolScript('script gtp2.spt;')"
onMouseover="document.displayButton2.src='button_over.gif'"
onMouseout="document.displayButton2.src=button.gif'">
<img src="button.gif" border="0" name="displayButton2"></a>

Sorry if I wasted your time!

Frieda


************************************* Frieda S. Reichsman, PhD Molecules in Motion Interactive Molecular Structures http://www.MoleculesInMotion.com Shutesbury, MA *************************************



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

Reply via email to