04.02.2013 Views

WebPlus Essentials User Guide - Serif

WebPlus Essentials User Guide - Serif

WebPlus Essentials User Guide - Serif

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Attaching HTML code<br />

Adding Dynamic Content 237<br />

<strong>WebPlus</strong> lets you attach HTML code to your <strong>WebPlus</strong> pages, primarily to<br />

expand the capabilities of the page, making it more intelligent and interactive.<br />

The page can either dynamically generate content or can have its appearance<br />

altered within its area as a result of embedded script content.<br />

It's not possible to edit the HTML code itself (there's no real benefit in doing<br />

so), but specific areas of the displayed code are editable for additional code to be<br />

added, i.e. clearly identifiable placeholders (text surrounded by a white<br />

highlight) will show.<br />

In particular, code can be placed at prompted locations<br />

in the code such as _AddCode= opposite.<br />

The editable areas shown with green text above let<br />

you add you own comments or notes.<br />

Any code can be inserted by cut and paste into any of the placeholder positions<br />

but typically you can include tokens, HTML code or specific scripts, e.g.<br />

JavaScript.<br />

Adding HTML<br />

HTML code for your web page can include fragments either copied from<br />

another web page, or perhaps written by yourself. You can also import formatted<br />

HTML text from a browser or email program via the Clipboard (for example<br />

with a browser's Select All and Copy commands), using <strong>WebPlus</strong>'s File>Paste<br />

Special... command.<br />

Before you import your HTML code, <strong>WebPlus</strong> lets you position an HTML Code<br />

Fragment window on your page. Since you won't be able to see the effect of the<br />

HTML until you preview the site, be careful to place the window correctly.<br />

You'll definitely want to check your web page in a browser! If there's a problem,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!