Hi,
use single quotes: '
jmolHtml('<FONT face="Arial, Helvectica, sans-serif" size="2">aaa</font>');
or escape the double quotes: \"
jmolHtml("<FONT face=\"Arial, Helvectica, sans-seri\f" size=\"2\">aaa</font>");
Best
Alexander
Am 15.04.2013 um 21:07 schrieb grid bird:
> how to deal with double quotes within jmolHtml(" ") ?
>
>
>
> On Mon, Apr 15, 2013 at 12:59 PM, Robert Hanson <[email protected]> wrote:
> careful with those double quotes.
>
>
> On Mon, Apr 15, 2013 at 1:44 PM, grid bird <[email protected]> wrote:
> Hi All, I am trying to output one tag using jmolHtml, but I can not give any
> Html feature.
> for example, if I want to out put "aaa", I can use jmolHtml("aaa"), it works
> well. But if I want to give features like this: jmolHtml("<FONT face="Arial,
> Helvectica, sans-serif" size="2">aaa</font>");, it doesn't work.
> any ideas?
>
> thx,
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> 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
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users