Serif WebPlus X4 WPX4-HFMINI-ENG-STA-1 User Manual
Product codes
WPX4-HFMINI-ENG-STA-1
270
Adding Dynamic Content
the list above is unique to a page's source and won't appear for an object or
HTML fragment.
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.
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.
Adding HTML
WebPlus also allows you to "view source" on a page—allowing extra HTML
code to be added to the page. Using this approach, you can include fragments
either copied from another web page, or perhaps written by yourself.
code to be added to the page. Using this approach, you 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.
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,
double-check the code you entered and its position on the WebPlus page
(resizing if necessary). If you have some grasp of HTML, examine the page
source in a text editor such as Notepad or use your browser's "View Source"
mode.
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,
double-check the code you entered and its position on the WebPlus page
(resizing if necessary). If you have some grasp of HTML, examine the page
source in a text editor such as Notepad or use your browser's "View Source"
mode.
To add an HTML code fragment to a page:
1.
Copy the HTML code from its original source onto the Clipboard.
2.
Click the
Insert HTML Code button on the Web Objects
toolbar.
3.
Click on the page or pasteboard to create a new HTML Code
Fragment window at a default size or drag to create a sized window.
Fragment window at a default size or drag to create a sized window.
4.
In the dialog, use the Paste to Head or Paste to Body button to insert
the clipboard text into the header of the file or into its body.
- or -
the clipboard text into the header of the file or into its body.
- or -