parent nodes: DemoPageEditAttributes | DemoPageFormatting | DemoPageViewAttributes | DemoTextHtmlElements

Demo Page View Attributes

Contents:
Demo Page View Attributes
General
Html attributes
Example
Global
Paragraph mode
Example
Global
Remarks
Todo's
Results
Back

General

A number of attributes is available, that control the format of a page in the view modes: html preview and html export. These are the html- and other attributes. Changes in these attributes don't take effect (are not visible), until the page is saved; either by the auto-save process or manually.

Top

Html attributes

Html attributes are used to set the foreground- (font), background- and link colors of a page in Preview and exported Html and have the format: [html.element: value]. The existing elements are:

Element Function Preview Browser
   Internal IE Mozilla  
html.textcolor Color of all non-link text Yes Yes ?? Yes
html.bgcolor Color of the page background Yes Yes ?? Yes
html.linkcolor Color of a (non-visited) link Yes Yes ?? Yes
html.alinkcolor Color of a link while "under" the mouse (hovering or pressed) No Yes* ?? Some
html.vlinkcolor Color of a visited link No Yes* ?? Yes
html.bgimage Link to a background image No Yes* ?? No?


Remarks

Example

See the results of the attributes below on the appearance of this page in preview. Check their influence on the display of these links; follow them and return to see their color.

Global

All html attributes have global representations, with which the colors for áll of the pages in the wiki can be set:

Page specific html attributes overrule the global ones.

Top

Paragraph mode

A page by default is in line mode. In this mode, every "new line" in the editor text is replaced by a htlm "new line" tag in preview and with this turning every line in a "paragraph" of it's own. This might in certain cases not be what the user wants or needs. Also this behaviour is different from html, that principally is based on a form of "paragraph mode".

Wikidpad supports it's own form of paragraph mode; in this mode "new lines" are ignored and only empty lines start a new paragraph. Paragraph mode can be switched on using the attribute: [paragraph_mode: true] on the page. "New lines" can be forced in paragraph mode, by inserting the html "new line" tag: "<br />" where needed.

Example

The attribute on the next line switches this page to paragraph mode; see it's effect on the example text below. Example text
In the editor this paragraph is shown, devided over five (5) lines. In preview and html export however, this paragraph is shown as one contiguous (wrapping) line.

In line mode, the text above would have been shown in view mode as the original five separate lines.
And this line would have been a paragraph on it's own, not the second line of the second paragraph.

Global

Paragraph mode can be switched on for all the pages in the wiki using the global attribute: In that case it can be switched off for individual pages using: Top

Remarks

Top

Todo's

done.demo.projectdemo.demo2: check out all posibilities
action.demo.pageformatting.viewAttributes: template action

Top

Results

[demo.status: done] Top
previous: Back
parents:  DemoPageEditAttributes, DemoPageFormatting, DemoPageViewAttributes, DemoTextHtmlElements