What happens when you

1) just download http://chemapps.stolaf.edu/jmol//jsmol.zip, unzip it, and
run jsmol.htm there on your machine. It works, right? With a menu?
2) now upload that directory to a website and try it there. Works or not? I
would think so.
3) now adapt jsmol.htm to your needs or substitute your page and see if
that works.

I think the "standard" development procedure is basically that -- and, if
desired, then removing directories and/or files that are unnecessary. (You
can find out what is required that is not in the "core" directory by
inspecting the info panel "behind" the viewer. using browser developer
tools -- javascript console -- jmolApplet0._showInfo(true)





On Fri, Jan 25, 2013 at 9:00 PM, Jonathan Gough
<jonathan.d.go...@gmail.com>wrote:

> At the moment, I am using the St. Olaf packages to trouble shoot the
> issues.  If I can't load a simple page that utilizes your code - then in my
> mind there is an issue with the server I am using to host the single page,
> yes?
>
> I have edited the test page again, simplified the header (I think) and
> removed the full path to j2s.  Now it's broken again.  I know it's not the
> header, as when I changed that, it still functioned the same.  therefore
> there is some issue with the j2s statement.
>
> http://myweb.brooklyn.liu.edu/jgough/ChemResources/example3.htm
>
>
> On Fri, Jan 25, 2013 at 10:28 AM, Jonathan Gough <
> jonathan.d.go...@gmail.com> wrote:
>
>> Bob,
>>
>> I'm still having a hard time figuring this out.
>>
>> 1 - I believe that the following page is picking up everything from you
>> page, and the right click menu isn't working.  Would the problem be with
>> out server or am I still missing something?
>> http://myweb.brooklyn.liu.edu/jgough/ChemResources/example3.htm
>>
>> 2- RE: corrupted files.  What I did previously was, download (via chrome)
>> unzip (via my mac's default application) the jsmol folder was moved to the
>> website directory (in a dropbox folder elsewhere on my mac) and then
>> uploaded to the server via the ftp protocol built into dreamweaver 5.5.
>> That failed so I tried this - used wget to download the file on a linux
>> box (centOS 5).  used bash unzip, scp to the website directory on my mac,
>> then ftp via dreamweaver.  That also failed (and is what is up now).
>>
>> In theory I could ftp straight from the linux box, but I can't figure out
>> exactly how to do that.  Can you advise on how I might proceed?
>>
>> Thanks,
>> Jonathan
>>
>>
>>
>> On Wed, Jan 23, 2013 at 5:09 PM, Jonathan Gough <
>> jonathan.d.go...@gmail.com> wrote:
>>
>>> Thanks for getting back to me Bob,
>>>
>>> I am using a mac, but I didn't edit those files.   In fact, I
>>> re-downloaded everything and the problem is the same.  I even used wget
>>> from a linux box to grab the files from your machine and they are
>>> identical.  if you go to
>>> http://myweb.brooklyn.liu.edu/jgough/jsmol/JSmolCore.js  and view page
>>> source, there isn't any gaps.  I used vi, and couldn't see any gaps either.
>>>
>>> if for some reason they are there, how would I go about getting rid of
>>> them?  any other ideas?
>>>
>>> thanks,
>>> Jonathan
>>>
>>>
>>> On Wed, Jan 23, 2013 at 1:02 PM, Jonathan Gough <
>>> jonathan.d.go...@gmail.com> wrote:
>>>
>>>> Firstly I would like to thank everyone for their hard work on JSmol and
>>>> Jmol; Incredible, I love it!
>>>>
>>>> I am working on a website to help students here at LIU who are taking
>>>> organic chemistry.
>>>>
>>>> I believe I have figured out how to implement JSmol.  In my testing
>>>> however, I have only been able to get JSmol.min.js to work.
>>>> For whatever reason, the other, or full packages (JSmoljQuery.js,
>>>> JSmolCore.js, JSmolApplet.js, JSmolApi.js, JSmolThree.js, JSmolGLmol.js,
>>>> j2s/j2sjmol.js, JSmol.js) do not want to work; pointing at your site
>>>> doesn't help, neither does switching browsers.  In my hands the Jsmol.htm
>>>> page works, but test2.htm does not.
>>>>
>>>> the test pages on my site are here
>>>>
>>>> this works:
>>>> http://myweb.brooklyn.liu.edu/jgough/jsmol/jsmol.htm
>>>>
>>>> this doesn't:
>>>> http://myweb.brooklyn.liu.edu/jgough/jsmol/test2.htm
>>>>
>>>> simple-example that works:
>>>> http://myweb.brooklyn.liu.edu/jgough/ChemResources/example1.htm
>>>>
>>>> simple-example that doesn't work (missing the JSmol.min.js):
>>>> http://myweb.brooklyn.liu.edu/jgough/ChemResources/example2.htm
>>>>
>>>>
>>>> I was wondering if anyone could provide some insight.
>>>>
>>>> Sincerely,
>>>> Jonathan
>>>>
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> 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, 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
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to