the feature just doesn't exist for browsers. You can set a JavaScript
variable to any memory-constrained length, but you are asking for something
different, I think.
Bob
On Sun, Sep 7, 2008 at 12:03 PM, Paul Pillot <
[EMAIL PROTECTED]> wrote:
> It should directly trigger an error (in that case you don't even
> provide a source file for the image src property)... unless... no one
> really knows with Internet Explorer ;).
> Paul
> Le 7 sept. 08 à 18:44, Steven R. Spilatro a écrit :
>
> > Oh, of course! testimg.src = B64path + "?" + imgB64; involves a URL,
> > sorry I missed that.
> >
> > Would a feature like "testimg.src=jmolGetImage ("jpeg")" involve
> > similar contraints?
> > Steve
> >
> >
> >> I don't think you can put that many bytes on a URL line. Better
> >> would be to
> >> put the base64 data into a textarea in a form and submit it using
> >> method="post". Even that might have some limitations.
> >
> >> Bob
> >
> >
> >> On Sat, Sep 6, 2008 at 12:19 PM, <[EMAIL PROTECTED]> wrote:
> >
> >> Hi Bob,
> >>
> >> Aha, jmolScriptwait ? that?s the ticket!
> >>
> >> Yeah, I know about the MSIE issue, and I?m trying to deal with
> > that now. Here?s
> >> the issue: I'm adding the jmol applet images dynamically to the open
> >> webpage, as opposed to exporting to another window as does Angel?s
> >> code (and
> >> very nicely too).
> >>
> >> My code for MSEI looks like this:
> >> if (nav64=='nocomp'){
> >> var testimg=document.getElementById("SnpShtImg")
> >> var imgB64 = "image/jpeg;base64," + jmolGetPropertyAsString('image');
> >> var B64path="base64.php"
> >> testimg.src = B64path + "?" + imgB64;
> >> }
> >
> >
> >
> > Dr. Steven R. Spilatro
> > Department of Biology and Environmental Science
> > Marietta College
> >
> >
> > ----------------------------------------------------------------------
> > ---
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> > great prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> > the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Jmol-users mailing list
> > Jmol-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users