Hi Robert, Now I understood your suggestion! Disable at jsmol and do it myself using the data from the hovercallback method. Sorry, I was confused.
best regards Fausto On 20 August 2015 at 15:53, Robert Hanson <hans...@stolaf.edu> wrote: > You will have to turn off the canvas hover that Jmol uses and instead use > your own, totally outside of Jmol. > > On Thu, Aug 20, 2015 at 12:43 PM, <tremato...@gmail.com> wrote: > >> >> I'm trying to get there - where the label is - but as it is inside the >> canvas element it's hard to inspect. There is a way with chrome experiments >> but I can't put to work here. Anyway I will keep trying. >> >> Thanks! >> Fausto >> >> On 17 August 2015 at 22:34, Robert Hanson <hans...@stolaf.edu> wrote: >> >>> In order to do that you will need to learn some CSS and JavaScript. The >>> best way to do this is probably with jQuery. But I do not know exactly how >>> to do that. >>> >>> On Mon, Aug 17, 2015 at 10:10 AM, <tremato...@gmail.com> wrote: >>> >>>> Hello Robert, >>>> >>>> Thanks for your explanation, I have been thinking about it but I still >>>> didn't realize how to do it. Could you tell me what kind of return this >>>> callback needs to give to change the hover label position and style? >>>> >>>> Have a great day! >>>> Fausto >>>> >>>> >>>> >>>> On 17 August 2015 at 00:59, amitesh sharma <siprusha...@gmail.com> >>>> wrote: >>>> >>>>> please describe me how I use in html. >>>>> >>>>> Amitesh kumar sharma >>>>> Noida Uttar Pradesh >>>>> >>>>> On Sat, Aug 15, 2015 at 11:56 PM, Robert Hanson <hans...@stolaf.edu> >>>>> wrote: >>>>> >>>>>> sorry -- >>>>>> >>>>>> ... using jmolApplet0._applet.viewer.ms.at[iatom].sX and ...sY >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> >>>>>> _______________________________________________ >>>>>> Jmol-users mailing list >>>>>> Jmol-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>>>>> >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Jmol-users mailing list >>>>> Jmol-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>>>> >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Jmol-users mailing list >>>> Jmol-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>>> >>>> >>> >>> >>> -- >>> Robert M. Hanson >>> Larson-Anderson Professor of Chemistry >>> Chair, Department of Chemistry >>> St. Olaf College >>> Northfield, MN >>> http://www.stolaf.edu/people/hansonr >>> >>> >>> If nature does not answer first what we want, >>> it is better to take what answer we get. >>> >>> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Jmol-users mailing list >>> Jmol-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>> >>> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jmol-users mailing list >> Jmol-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-users >> >> > > > -- > Robert M. Hanson > Larson-Anderson Professor of Chemistry > Chair, Department of Chemistry > St. Olaf College > Northfield, MN > http://www.stolaf.edu/people/hansonr > > > If nature does not answer first what we want, > it is better to take what answer we get. > > -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > >
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users