Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
FayCross committed Jul 18, 2012
1 parent 9d1ebf2 commit 12ca96b
Show file tree
Hide file tree
Showing 3 changed files with 312 additions and 282 deletions.
4 changes: 1 addition & 3 deletions JMolViewer/jmol.htm
Expand Up @@ -6,11 +6,10 @@
// ***** SET UP Jmol PARAMETERS & CONTROL BAR *****

// file location
var str = document.location.search.substr(1,document.location.search.length);
var str = document.location.search.substr(1,document.location.search.length).replace(/%20/g," ");
var modelFile = str.split(',')[0].split('xyz=')[1];
var setUpInfo = "load " + modelFile + ";";


// control bar?
var controls = str.split(',')[2].split('controls=')[1];

Expand Down Expand Up @@ -109,7 +108,6 @@
for (j=0; j<combo.options.length; j++) {
if (combo.options[j].text == valueArray[i]) {
combo.selectedIndex = j;

break;
}
}
Expand Down

0 comments on commit 12ca96b

Please sign in to comment.