> Can you post a screen shot of what you envision this maybe looking
> like or doing?  I'm very intrigued!

Would you be willing to add a google maps api key
for
https://www.sagenb.org/
(It can readily be obtained from                     
http://code.google.com/apis/maps/
)
and to make it available?
I'd put a simple script on the server.


> >  * executing an html(txt) command in a cell, where txt contains
> Yes, there is.  Put any code you want to be run in <script> </script>
> in the output of html.   Try this in the notebook and you'll get the idea:
>      print '<html><script>alert("hi there")</script></html>'

Hmm, there appears to be a problem with my home machine.
As given above, this line works. Variations, including replacing
alert() with
document.write("hi there") do not.

I tried it on the sage server ("JavaScript Tests") where they mostly
work.
The example in the fourth cell however causes a problem there
as well: it results in an alert "Bug in notebook, missing output for
cell 3"
The code was

print """
<html><script>
document.write("<p>a paragraph</p>");
</script></html>
"""

Do you have any suggestions as to what might be going on there?


> >   ... a computation that needs to update
> >   the overlay repeatedly in a loop with intermediate results from a
> >   computation.
>
> I'm not sure if there is a good solution for that in the notebook yet.

Would you have any suggestions how I might accomplish this?

My knowledge of JavaScript is still very raw and I do not have any
idea right now (short of javascript->java->javascript....)
It is a sine qua non for the computations I'd like to do.

The alternative would be to switch to google earth with which
I can communicate via files,
but that unfortunately takes the map display out of the browser?!

thanks again,
-gerhard
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to