Can we remove the position style from being dynamically inlined on the playground div element?
  • Is there anyway we can prevent JavaScript from adding position: absolute on the #playground div, and instead leave that up to the CSS?  The reason I ask is because I may want my #playground position to be relative and centered on my browser window with {margin:0 auto}.

    Will this cause issues?

    Thanks

  • On a simular note, can we remove <center> from being dynamically generated as a parent element around #startbutton ID.  That can easily be implemented with CSS. And it may be the case where someone doesn't want the text to be centered, but position elsewhere in that general area...

  • selimselim
    Accepted Answer
    At the moment the positioning of the playground is by default set to 'absolute' you can change it by passing {position: 'relative'} in the options of the playground() function when you define it. I am not 100 % sure that this won't have some adverse effect.

    The start button and load bar can be whatever you want, you can even get rid of them completely. Everything that is part of the index.html or iframe.html files from the demos are just example and can be written exactly how you want. the only constraint is that there has to be a playground object somewhere and that you define which one it is by the playground() function.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!