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?

  • 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$ Jul 10 '12 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$ Jul 10 '12 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$
    – Jens
    Jul 11 '12 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$
    – abwatson
    Jul 12 '12 at 21:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.