4
$\begingroup$

I am using the deploy command to embed a CDF file in an HTML page. I am using the annoying but currently necessary fullscreen:'true' trick to reveal the "Enable Dynamics" button.

Regardless of what size arguments I use in the cdf.embed function, I get an unnecessary vertical scroll bar in the result rendered in the web page. How can I get rid of this?

Are there other undocumented arguments to cdf.embed?

$\endgroup$
4
  • 1
    $\begingroup$ Welcome over here! We have met almost 20 years ago on the ARVO conference in Sarasota, but you probably don't recall that. BTW If you'd register, you'd be better able to use the site here (includes voting, commenting, and more). $\endgroup$ Commented Jul 10, 2012 at 20:46
  • $\begingroup$ I've read the plugin code and it seems that any javascript present in the fourth argument is just passed on. So, any javascript setting that removes the bar would do. Unfortunately, I don't know javascript, so, I can't help here. $\endgroup$ Commented Jul 10, 2012 at 22:08
  • $\begingroup$ If you have access to a web server account, you can perhaps avoid the issue you're having by serving the CDF directly, not embedded in an HTML page. I noted down the steps for this in the linked answer. This assumes all your content is in the CDF and you just don't like the scrollbar because it's surrounded by nothing else anyway. $\endgroup$ Commented Jul 11, 2012 at 6:28
  • $\begingroup$ Sjoerd: Amazing to hear that we met long ago! I think I am registered. Let me know if you know otherwise. I see my username at the top of the page. $\endgroup$ Commented Jul 12, 2012 at 21:45

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.