On 03/29/2010 12:02 PM, William Stein wrote:
On Mon, Mar 29, 2010 at 5:34 AM, Dana Ernst<[email protected]> wrote:
That's what I figured. Thanks for the reply.
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
--
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 from this group, send email to sage-support+unsubscribegooglegroups.com or
reply to this email with the words "REMOVE ME" as the subject.