MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Embedding CDF in a Google Spreadsheet Form

  • To: mathgroup at smc.vnet.net
  • Subject: [mg132322] Re: Embedding CDF in a Google Spreadsheet Form
  • From: Tomas Garza <tgarza10 at msn.com>
  • Date: Sun, 9 Feb 2014 04:48:06 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References:

When you say below "Example webpage (take this code and save it as an html file and open it)", what exactly do you mean? Copy the code and paste where, in order to save it and then open?
-Tomas

> From: kylek at wolfram.com
> Subject: Re: Embedding CDF in a Google Spreadsheet Form
> To: mathgroup at smc.vnet.net
> Date: Sat, 8 Feb 2014 04:02:50 -0500
>
> Hi All,
>
> Sorry I think the previous code was broken by line breaks from copy/paste.
> The attached html file should work as expected.
>
> Kyle
> 
> -----
> This message and any attachments may contain confidential or privileged
> information. If you are not the intended recipient please destroy and
> notify the sender. Message and attachments copyright C 2014, all rights
> reserved. Any unauthorized dissemination, distribution or copying is
> strictly forbidden.
>
> -----Original Message-----
> From: Kyle Keane [mailto:kylek at wolfram.com]
> Sent: Tuesday, February 04, 2014 5:53 PM
> To: 'mathgroup at wolfram.com'
> Subject: Re: Embedding CDF in a Google Spreadsheet Form
>
> Hi All,
>
> This is a reply to an older post that just came across my radar about
> combining Google Forms with embedded CDFs.
>
> Here is a link to the original message:
> Embedding CDF in a Google Spreadsheet Form
> http://forums.wolfram.com/mathgroup/archive/2013/Sep/msg00001.html
>
> I am not sure if there have been any developments on this. If so, please
> update us.
>
> As you all likely know, both Google Forms and CDFs can either be deployed
> as a standalone webpage or as an embedded object in a webpage using the
> respective deployment wizards. It sounds like you were trying to edit the
> source code for the standalone webpage of the Google Form, this seems like
> a more complex solution to me. I would use the embed codes on a simple
> webpage.
> https://support.google.com/drive/answer/87809?hl=en
> http://www.wolfram.com/cdf/adopting-cdf/deploying-cdf
>
> You can place the embed codes from the Google Form and CDF into a simple
> .html file (the code for a simple webpage that does this is pasted below).
> Does this do what you want? If yes, then awesome. If no, then please
> explain what other functionality would be useful or what you are looking
> for.
>
> Example webpage (take this code and save it as an html file and open it):
> <html>
> <body>
> <h1>A very simple webpage :)</h1>
> <p>Here is an embedded CDF using the embed code provided on the
> Demonstrations website or given through the export function in
> Mathematica.</p>  
>
> <script type='text/javascript'
> src='http://demonstrations.wolfram.com/javascript/embed.js'
> ></script><script type='text/javascript'>var demoObj = new DEMOEMBED(;
> demoObj.run('TreeBender', '', '525', '551');</script><div
> id='DEMO_TreeBender'><a class='demonstrationHyperlink'
> href='http://demonstrations.wolfram.com/TreeBender/' target='_blank'> Tree
> Bender</a> from the <a class='demonstrationHyperlink'
> href='http://demonstrations.wolfram.com/' target='_blank'>Wolfram
> Demonstrations Project</a> by Theodore Gray</div><br />  
>
> <p>Here is an embedded Google form using their embed code from the share
> form button.</p>  
>
> <iframe
> src="https://docs.google.com/forms/d/1RbUxAYUryPSp7PFHSXZShoDX52fHAVryVHUl
> sTujOfI/viewform?embedded=true" width="760" height="500" frameborder="0"
> marginheight="0" marginwidth="0">Loading...</iframe>  
>
> </body>
> </html>
>
> Sincerely,
> Kyle Keane, PhD
> Research Programmer
> Education Software Technology
> Wolfram Research Incorporated
> 217-398-0700 ext. 5220
> 
> -----
> This message and any attachments may contain confidential or privileged
> information. If you are not the intended recipient please destroy and
> notify the sender. Message and attachments copyright C 2014, all rights
> reserved. Any unauthorized dissemination, distribution or copying is
> strictly forbidden.
>


  • Prev by Date: Re: Memory leaks problem
  • Next by Date: Re: Goodstein expansion
  • Previous by thread: Re: Embedding CDF in a Google Spreadsheet Form
  • Next by thread: Memory leaks problem