Using HTML Properties on Views

Many design element properties have an <html> tab included (tables have a <@> tab), which allows the addition of HTML attributes. Layers, Cascading Style Sheets, Applets, Pictures, Hotspots, and Fields all have <html> tabs(see Figure 14.8). These attributes are applied to the HTML that Domino generates at runtime. In Table 14.8 is a list of each HTML attribute and its description. Two things to bear in mind when working with these attributes: HTML must be ASCII characters and quotation marks are not used.

Figure 14.8. Field Properties HTML tab.


Table 14.8. HTML Tab Attributes
AttributeDescription
Name/IDUsed when referencing an object with JavaScript or CSS.
ClassIf a CSS style is defined in the HTML Head Content, the class is listed here and applied.
StyleIn-line CSS is used to apply a specific CSS style.
TitleDisplays a prompt to the user.
OtherAdd HTML tag attributes without quotes.

Views do not have an <html> tab to apply HTML attributes to, but through the View properties you can set how the view will display on the Web (see Figure 14.9). In Table 14.9 is a list of the Web Access settings in the View properties and their descriptions.

Figure 14.9. View Properties Advanced tab.


Table 14.9. Web Access Settings
Web Access SettingDescription
Treat view contents as HTMLAllows you to change default settings by applying HTML attributes to a column. After you choose Treat View Contents as HTML, you can add HTML code to the column's Programmers Pane. This affects only how the view displays on the Web.
Use applet in browserNotes type functionality is available, such as resizable columns, scrolling, F9 to refresh, expand/collapse without rendering the Web page again. The DEL key, selection margins, and multiple document selection are also available.
Allow selection of documentsEnables users to select more than one document. You could use this in conjunction with an Action, such as Delete or Move, where a user would want to select multiple documents.
Active Link, Unvisited, Visited color selection boxesSelect the color used to display the different link states.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.95.245