AnsweredAssumed Answered

help with using GetLayoutObjectAttribute

Question asked by shae1725 on Jul 30, 2014
Latest reply on Jul 30, 2014 by shae1725

Title

help with using GetLayoutObjectAttribute

Post

     Any ideas on how add the GetLayoutAttribute to find the height and width of my web viewer into this html code

     I have tried enclosing using  \""    "\" but no joy

      

      </head>
      
       <body>
      
         <canvas id=\"myCanvas\" width= GetLayoutObjectAttribute (web;width)   height=  GetLayoutObjectAttribute (web;height) ></canvas>
      
         <script>
      
           var canvas = document.getElementById(\"myCanvas\");
      
           var context = canvas.getContext(\"2d\");

Outcomes