tayatoys.blogg.se

Jmol script
Jmol script





  1. #Jmol script zip
  2. #Jmol script download

Therefore, the path is given by "jsmol/".ġ6. In this case, the Jmol.js file is in the "jsmol" folder, which is in the "jmol" folder, as is your template1018.html file. If is in the same folder as the template.html file, then just the name of the file is given. Here the correct pathway to the file is essential. This allows buttons and other special items to be incorporated into the page. Also in this is a path to the javascript file called "". You should rename it when you make a new page.ġ5. The title of this page is "Name of page". The title is displayed at the top of any webpage. This format works for all tags (almost).ġ4. So everything between will be defined by this tag. This identifies the file as an HTML file. Lines that begin with exclamation marks "!" or "//" are for comments-they are not displayed by the browser.ġ3. If you click "Source" you will see the html code. In BlueGriffon, look at the bottom of the page where it says WYSIWYG/Source. The template file is initially set up to use the pdb file .ġ2. Any text editor will work, and a dedicated web page editor, such as Blue Griffon has some very useful features.ġ1. Then edit the "template2018.html" page to use that pdb file. This is one way to make a Jmol page: First load a pdb file into the correct folder: "pdb_files". ( Unfortunately, the current Chrome or Safari will probably not work to load local files. Select Firefox and check the box to remember this choice. To see how this page looks in a browser, click the globe-like button in BlueGriffon.

#Jmol script download

Or, you can always download the original again.ĩ. That will preserve the template file in its original state, in case you need to come back to it later. Save this file as "1template2018.html", "XYZtemplate2018.html" or some other name. (Try right-click) I recommend BlueGriffon. Open the "template2018.html" file in a text editor or html editor application.

jmol script

Move the "jsmol" folder and the "pdb_files" folder into the jmol_pages folder.ħ. Or save it anywhere, and then drag and drop the file in the folder.Ħ.

jmol script

To do this: for example, right-click (Control-click) and "Save Link As." to the new "jmol_pages" folder. Download the " template2018.html" file and place it in the "jmol_pages" folder. Check that your jmol folder also contains a folder called "pdb_files", with the file "".ĥ. Check that your jmol folder contains a folder called "jmol_pages".Ĥ.

#Jmol script zip

You might have it in a zip format, in which case, expand it.ģ. Check to see that it contains a folder called "jsmol". You will need BlueGriffon and Firefox for this lesson.Ģ.







Jmol script