Bob,
        I like a lot of it, but the key is that the pages are supposed to be  
something an .html novice can edit to get a working page up.  I  
assume that all those who can code more complicated things will do it  
themselves.  The key features that are important is that the user  
needs to be able to see the basic layout of the page without the  
javascript working and without activating Jmol.  This way the user  
does not have to worry about where in their directory structure the  
documents are created as compared to where all the scripts and java  
are on their machine.  They will still have to understand their  
directory structure on the server, but that is less problematic.  For  
class assignments I would just tell the students what to put in for  
the applet path.

Here are my suggestions on how to rework this (only for the pop-in  
case, I'm still thinking about the other).
1) I agree that having the .html code as resource templates would be  
much better than hard coding them as I had.
2) I suggest that the floating divs that contains the image, caption  
and floating link to Jmol end up as divs in the .html document not as  
javascript actions.  I think this just requires converting putJmolDiv  
to a template for the popInDivs.  This will make it so that even  
really dumb .html WYSIWYG editors will allow the user to edit the  
captions and comments in a GUI interface rather than as source code.
3) The floating click-on box above the images is really neat.   
However, they can cover up a significant amount of the image.  My  
suggested solution is to not set a background color (in other words  
leave it transparent) and set the text color to a color that will  
show up against most colors used for atoms (yellow text seemed  
good).  My little bit of playing suggests that replacing the
style="background-color:white" with style="color: rgb(255, 255, 51);"  
in the function putJmolDiv is a good solution.  Note that the output  
from this function should be coded into the .html page for each  
instance of Jmol to address item # 2.
4) I'm still having trouble getting the pop-in function to work.  I  
will get back to you when I find the problem.  It may be my mistake.
5) For now leave the time stamp and web link information as is.  I'm  
not sure what it should say.

Jonathan

P.S. Did you get any sleep last night?
On Aug 14, 2007, at 10:44 AM, Bob Hanson wrote:

> Jonathan Gutow wrote:
>
>> Bob,
>>      You've done a lot of work on the web export stuff in the last day.
>> Looks pretty good.  However, some of your changes for efficiency have
>> made them unusable except for people who work with .html, javascript
>> and css source code.
>>
>> Problem 1:
>>      Now, the pop-in page opened in basic WYSIWYG web editors will not
>> show the div's with tables that have a space for the figure caption.
>> The user will not be able to change the figure caption without
>> editing the source code.  This is very clean for the page code, but
>> not transparent for an unsophisticated user.  I believe that the way
>> I had the pages with the tables enclosing images hard coded into
>> the .html was more user friendly.
>>
>>
>>
> yes, I know. That is fixed -- the captions and info are now in
> independent divs.
>
> Did you notice the cool effect of the clickable "here" appearing in
> front of the applet image, and the applet image being actual size?  
> It's
> very striking to me. I think it works on all browsers, but we should
> check that style background-image:URL(...) works generally.
>
> Lots of other interesting things there -- did you notice that the  
> images
> are now actual size for the applet width/height combination requested?
>
>
>> Problem 2:
>>      Now, in the resizable template the user does not get information
>> about where the buttons will appear.  Thus when editing with a
>> WYSIWYG editor they will not know where to put their text.
>>
>>
>>
> let's think about how to do that. I wasn't really understanding what
> your concept was for the buttons and the info. Obviously one doesn't
> really want tables like that. But yes, maybe for simple starters.
> Somthing like that. This will take a bit of experimenting.
>
>
>> Problem 3:   
>>      There also is an unidentified error in the function addJmolDiv.  The
>> divs do not show up in FireFox when I tried to use it.  I'm getting
>> no javascript errors in the console.  I'm not sure the scripts are
>> even running.
>>
>>
>>
> I suspect you just got a version that was not developed enough.  
> Check now.
>
>> For problems 1 an 2 it might help if you downloaded the version of
>> 11.3.8 that I made and see how the web page templates look in FireFox
>> and a simple .html editor like SeaMonkey.  I think you will see the
>> difference.
>>
>>
>>
> I think you will like the div idea.
>
>> Not a problem, but something that may need to be changed before  
>> release:
>>
>>
> Right, I figure there will be lots of issues to deal with as we think
> more about how to integrate this into Jmol. I know you had it working
> reasonably well, but it still feels to me like there is much to do on
> this. Not that I have time....
>
>>      The Time_Stamp_Web_Link function in WebExport.java probably needs to
>> be updated to something that links to the Jmol site directly, unless
>> you think we should maintain information about this export function
>> on my web site.
>>
>>
>>
> Right, what would you like there?
>
> Bob
>
>
>> Jonathan
>>                          Dr. Jonathan H. Gutow
>> Chemistry Department                                 [EMAIL PROTECTED]
>> UW-Oshkosh                                           Office: 
>> 920-424-1326
>> 800 Algoma Boulevard                                 FAX:920-424-2042
>> Oshkosh, WI 54901
>>                  http://www.uwosh.edu/faculty_staff/gutow/
>>
>>
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a  
>> browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> Jmol-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>
>>
>
>
> -- 
> Robert M. Hanson
> Professor of Chemistry
> 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
>
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers

                          Dr. Jonathan H. Gutow
Chemistry Department                                 [EMAIL PROTECTED]
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                  http://www.uwosh.edu/faculty_staff/gutow/




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to