Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:API SimpleHTML SetText
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{widgetmethod|SimpleHtml}} This method will set the SimpleHTML text content to the supplied text. SimpleHTML:SetText("arg1"); == Parameters == === Arguments === :("arg1") :;arg1 :: String - Text that will be displayed in the SimpleHTML element. === Returns === :;nil :: nil - Will always return nil. == Details == The SimpleHTML element supports (as hinted by the name) a simple HTML-like markup. It also supports normal plain text with standard escape sequences. If the string does not contain the "<HTML><BODY>...</BODY></HTML>" structure (with only whitespace before the "<HTML>" tag) it will automagically revert to plain mode. See [[UIOBJECT SimpleHTML]] for supported markup. == See Also == * [[UI Escape Sequences]] <!-- I'm keeping this one just to not delete information that can be important later. ------------------------------------ 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) -->
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Widget
(
edit
)
Template:Widgetmethod
(
edit
)