Message Boards Message Boards

0
|
13885 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Can Mathematica develop a funcionality to deploy CDF file generating HTML ?

Posted 11 years ago
My server does not accept Javascript.
POSTED BY: Ana Squadri
3 Replies
Posted 11 years ago
Hi all,

Regarding the video you, Vitaliy, mention (http://www.wolfram.com/training/videos/CDF002/), I don't understand how to get the html file (Tree.html). I have tried creating a NotePad and writting there:

<html> 
<body>

"WOLFRAM"

</body>
</html>

Where "WOLFRAM" stands for the code I get from the Web Embeddable option. Even though, when I upload to Dropbox and open it nothing appears.

Thanks!
POSTED BY: Sergio Garcia
This free course explains how to do what you need with help of iframes:

Computable Document Format: Deploying Ideas to the Web


You can even embed CDF in FaceBook which for sure does not except any java script or plugin.
POSTED BY: Vitaliy Kaurov
Use embed, like this
<embed src="source.cdf" width="800" height="600">
i.e. the steps I use are:
  1. make the CDF as standalone file (source.cdf)
  2. edit your HTML page in text editor and add the above line where you want the CDF to show
  3. upload the HTML page and the CDF file to the server. Make sure the HTML and .cdf files remain in the same folder.
POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract