0
$\begingroup$

In the notebook interface Deploy prevents the orange frame of a Graphics object from showing, but this doesn't work on the web. Specifically,

CloudDeploy[
 Manipulate[
  Deploy@Graphics[{
     If[c1, Red, Black],
     EventHandler[RegularPolygon[5], 
      "MouseClicked" :> (c1 = Not@c1)],
     If[c2, Red, Black],
     EventHandler[RegularPolygon[{0.5, -1.2}, {0.3, 0.2}, 5], 
      "MouseClicked" :> (c2 = Not@c2)]
     },
    ContentSelectable -> False
    ],
  {c1, {False, True}},
  {c2, {False, True}}
  ],
 "polyclick",
 Permissions -> "Public"
 ]

still shows the orange frame like this:

enter image description here

when you click on it. How can I prevent this?

$\endgroup$
2
  • $\begingroup$ Adding Deployed -> True to the Manipulate also doesn't help. $\endgroup$
    – JEM_Mosig
    Jan 27, 2022 at 8:43
  • $\begingroup$ I would try to inspect css and add EmbeddedHTML with styles to overwrite it. $\endgroup$
    – Kuba
    Jan 28, 2022 at 6:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.