• Resolved kfinchsigmate

    (@kfinchsigmate)


    I’ve been trying for a few days, unsuccessfully, to run a javascript inside a post on WordPress. I’ve added the following code:

    ‘<script type=”text/javascript” src=”jmol/Jmol.js”>
    <script type=”text/javascript”>
    jmolInitialize(“jmol”);
    jmolApplet(200, “load ethane.mol”);’

    I know the paths are right because I can run it by cut and pasting (and editing the paths) of the simple example found here:
    https://jmol.sourceforge.net/demo/jssample0/

    I see nothing on the post when I view it using that code. Please help! (the wysiwyg editor is off, and it isn’t adding or removing anything)

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t run Java script in Post’ is closed to new replies.