Widget API: SimpleHTML:SetText

From AddOn Studio
Revision as of 13:02, 10 June 2006 by WoWWiki>Mikk ({{widgetmethod}})
Jump to navigation Jump to search

Widget API ← SimpleHTML < SetText

Template:Stub/api

PLACEHOLDER CONTENT WHILE I WRITE A REAL PAGE:

Accepts content in one of two forms.. "HTML" and "Plain"..

Plain form is the normal WoW markup with pipe delimiters.

HTML form uses a subset of HTML (You seem to be able to have WoW markup in the data) with the following tags:

<HTML> <BODY>

Within the BODY tag, you can have: <H1> <H2> <H3> <P> <BR> <IMG>

H1, H2, H3, and P are identical unless you've specified header fonts in the XML for the frame.

Within H1, H2, H3 and P, you can have BR and A tags.

The P H1 H2 and H3 tags can have align attributes The IMG tag can have align, width, height, and src attributes.

I think most entities are supported, but I'm not sure. Non-ascii characters need to use the &#NNN; encoding (I think that's the right format)