Back to my page

Developers

The Title Highlight template

Description

This template is intended for highlighting a part of the widget title. This may be used for showing a widget configuration specificity, like a keyword for a search widget or the configured e-mail address for a mail widget.

Preview

Code

Defined CSS classes

None. All you have to do is make sure the highlighted part of the title is between em tags, and UWA will highlight it. The title is set using the widget.setTitle method.

Sample code

<script type="text/javascript">
  widget.onLoad = function() {
    widget.setTitle('Widget title: <em>View name</em>');
  }
</script>

Sample widget

Business

Partner with us.

Developers

Build once, run everywhere.

Community

Get involved, get localized.

Press

News. Media kits. Press releases.