Operation Manual

Adding Dynamic Content 249
Attaching HTML code
In WebPlus, you can create pages in HTML (see Creating HTML pages on
p.
247). However, WebPlus also lets you attach code to your WebPlus objects
(e.g., in frames or table cells) and pages, primarily to expand the capabilities of
the objects (or the page), making them more intelligent and interactive. The
object or page can either dynamically generate content or can have its
appearance altered within its area as a result of embedded script content.
It's not possible to edit the HTML code itself (there's no real benefit in doing
so), but specific areas of the displayed code are editable for additional code to
be added, i.e. clearly identifiable placeholders (text surrounded by a white
highlight) will appear in your source tab's window.
These are just a few of the editable placeholders present in the source of an
HTML fragment, object or page (in fact differently named placeholders exist
depending on the type of element). For example, the last placeholder shown in
the list above is unique to a page's source and won't appear for an object or
HTML fragment.
Any code can be inserted by cut and paste into any of the placeholder
positions but typically you can include
tokens, HTML code or specific scripts,
e.g. JavaScript. This could be used to affect rollover behaviour on an object
not otherwise possible without scripting support, e.g. an image "on-click"
handler.