> In fact, i superpose 3 div at the same place:
> an image (400x400), 4 images (100x100 in a matrice) or the Jmol Applet
> (400x400).
As far as I know, you cannot put anythng on top of an applet, so if the applet
is displayed,
the others will be hidden even if you do nothing. Anyway, you can keep hiding
and
displaying the images in the same way you are doing. It's the applet that needs
a different
method:
> In function of what i want, i hide 2 of them using the command:
> document.getElementById('diviwantohide').style.display = 'none';
> to show:
> document.getElementById('diviwantohide').style.display = 'block';
>
> I don't know if i can do that via CSS.
But that's CSS! Instead of the display property, you must set the size.
to hide the Jmol applet div:
document.getElementById('diviwantohide').style.height = '1px';
document.getElementById('diviwantohide').style.width = '1px';
to show:
document.getElementById('diviwantohide').style.height = '300px';
document.getElementById('diviwantohide').style.width = '300px';
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users