Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    html div elements

    How can I take over html div elements/nodes from my current page(where the smartclient is used to build UI) and put it as content inside a label or something?


    Please help,
    Thankyou in advance,
    Nikun

    #2
    You want to take content that was generated by SmartClient and embed it in some other HTML? Do you mean in a static HTML file, or one that has SmartClient loaded? Or are you asking how to take some arbitrary block of HTML and embed it in a SmartClient Label widget?

    Comment


      #3
      You can embed SmartClient components into HTML content via setting position:"relative" on a SmartClient component that draws during page load, or via using the Canvas.htmlElement API. Note that this is recommended as a short term migration strategy only - using SmartClient layouts pervasively instead allows you to stop worrying about cross-browser layout issues.

      You can embed HTML into SmartClient components via the HTMLFlow component.

      Comment

      Working...
      X