
Adding Dynamic Content 237
Attaching HTML code
WebPlus lets you attach HTML code to your WebPlus pages, primarily to
expand the capabilities of the page, making it more intelligent and interactive.
The 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 show.
In particular, code can be placed at prompted locations
in the code such as _AddCode= opposite.
The editable areas shown with green text above let
you add you own comments or notes.
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.
Adding HTML
HTML code for your web page can include fragments either copied from
another web page, or perhaps written by yourself. You can also import formatted
HTML text from a browser or email program via the Clipboard (for example
with a browser's Select All and Copy commands), using WebPlus's File>Paste
Special... command.
Before you import your HTML code, WebPlus lets you position an HTML Code
Fragment window on your page. Since you won't be able to see the effect of the
HTML until you preview the site, be careful to place the window correctly.
You'll definitely want to check your web page in a browser! If there's a problem,
Commentaires sur ces manuels