T

Tony R

Member

Last active 3 years ago

  1. 3 years ago
    Mon Jun 1 16:15:57 2020
    T Tony R started the conversation How do you show the Counter Value?.

    This example for the Counter Object is pretty cool! My question is…
    How do you set up text to update when the value increases? In the example, it shows "Counter Value."
    https://docs.pubcoder.com/pubcoder_counter_object.html

  2. 8 years ago
    Wed Apr 6 11:11:27 2016
    T Tony R posted in Adding HTML5 Canvas to page.

    Never mind, I figured it out. Here is the answer…

    <script type="text/javascript"><![CDATA[
    $(document).ready(function() {
    window.init();
    	
    });
    ]]></script>
    
    	<canvas id="canvas" width="900" height="360" style="background-color:#FFFFFF">Canvas is not supported, sorry.</canvas>
  3. Tue Apr 5 17:35:13 2016
    T Tony R started the conversation Adding HTML5 Canvas to page.

    Is there a way to add a CANVAS tag to a Smart Object?
    I've tried this:

    <body onload="init();" style="background-color:#9aaede;margin:0px;">
    	<canvas id="canvas" width="900" height="360" style="background-color:#FFFFFF">CANVAS NOT SUPPORTED</canvas>
    </body>

    But, when I publish, I get an error, saying that a Body tag is not allowed in this area.