Ask Your Question
0

Firefox 32 doesn't display multiple cell server cells

asked 2014-09-16 22:04:01 +0100

Dirk Danckaert gravatar image

Has anyone experienced the following: when embedding multiple sage cells in a single web page, only one of them is actually displayed by firefox. Opening the same web page in Chrome shows all cells as active. Here's an example:

http://moodle.snorduffel.be/course/vi...

(The page also contains some java-stuff, so you can also expect some error messages related to java applets not being trusted). The page contains 4 different Sage cells, but the only one I see is the one with hidden editor box. Each cell on its own displays just fine in firefox, but the four of them together don't.

Is there anything I can do on the sage side? Or is this purely a firefox problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-16 23:23:51 +0100

kcrisman gravatar image

I get the feeling it may be one of two issues. But I haven't tried either of them.

First, you define your make Sage cell function four times. This should probably be in the header of the document, along with all the other scripts (and indeed as the Sage cell documentation says).

Second, all your Sage divs have the same class. While that is supposed to be supported behavior, I suppose it's possible that something went wrong.

Maybe it's a combination of the two.

edit flag offensive delete link more

Comments

Yes of course, repeated functiondefinitions certainly seem suspect. I'll test that. I used to avoid this, but now I make a test page (with only one cell, and all code included) and then paste it in its entirety into the bigger web page. Inserting html-code in this kind of dynamic php-generated pages is tricky, and I thought this way I would minimize the chance for making errors, that sometimes screw up the whole page and are hard to correct. The header of the page, unfortunately, is inaccessible, but defining the cell function in the body seemed to work too. Thanks.

Dirk Danckaert gravatar imageDirk Danckaert ( 2014-09-17 20:50:04 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-09-16 22:04:01 +0100

Seen: 272 times

Last updated: Sep 16 '14