Well, with a very slight change to the Sage notebook it might be
possible. With no change, I got the following (see attached). I did
this with the following code, which I entered in "edit" mode.
<table><tr><td width=50%>
{{{id=1|
#...@interact
def f(n=(1..5)):
print n*n
///
}}}
</td>
<td>
{{{id=3|
#...@interact
def g(n=(1..10)):
print n*n
///
}}}
</td>
</tr>
</table>
Well, of course, anything is possible once you are editing the HTML
source.
Here's another way to do it:
1. evaluate your two interact cells
2. Paste and evaluate the following into a cell:
jsmath(r"""<script>$
(".cell_evaluated").draggable().resizable().css('border','5px solid
blue');</script>""")
This makes all of your evaluated cells draggable and resizable. Now
just drag and resize to your heart's desire!
See http://sagenb.org/home/pub/1850/. Just drag and resize the blue
outlines.
Jason
Wow, that's pretty darn cool! Thanks for the replied on this.
Dana
--
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
URL: http://www.sagemath.org
To unsubscribe, reply using "remove me" as the subject.