Re: [Jmol-developers] position of jmolInitialize

2008-12-08 Thread Robert Hanson
location is not important. It just sets values.

On Sun, Dec 7, 2008 at 10:17 AM, Angel Herráez [EMAIL PROTECTED] wrote:
 Documentation
 http://jmol.sourceforge.net/jslibrary/index.en.html#jmolInitialize
 says that jmolInitialize() should be located in the BODY of the html page.
 However, I am seing that the JmolMediaWiki extension inserts it in the
 HEAD, and it seems to work.

 Anyone has an idea if the location is important?

 (I am trying to debug the extension, and want to make sure of suspected
 issues)

 Thanks


 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jmol-developers mailing list
 Jmol-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-developers




-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] position of jmolInitialize

2008-12-08 Thread Angel Herráez
On 8 Dec 2008 at 11:24, Robert Hanson wrote:

 location is not important. It just sets values.

Thanks, Bob. So I will remove that piece of info from the Javascript Library 
documentation.

While playing with the JmolMediaWiki Extension I have, though, found a 
situation where the 
location is important: the initialize call was being inserted (via PHP) in the 
head, and that 
prevented the use of the signed applet per user choice for a wiki page being 
edited. Now, 
inserting the initialize in the body can be customized to the user/editor 
choice of (un)signed 
applet in the extension tags.

More news of my work in the MediaWiki extension follow in a separate message to 
jmol-
users.


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


[Jmol-developers] position of jmolInitialize

2008-12-07 Thread Angel Herráez
Documentation
http://jmol.sourceforge.net/jslibrary/index.en.html#jmolInitialize
says that jmolInitialize() should be located in the BODY of the html page. 
However, I am seing that the JmolMediaWiki extension inserts it in the 
HEAD, and it seems to work.

Anyone has an idea if the location is important?

(I am trying to debug the extension, and want to make sure of suspected 
issues)

Thanks


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers