定制DWA7的外观皮肤 需要用到以下的元素:
The primary Domino Web Access skin types are:
h_ListFolder
h_MailPage
h_Edit
h_Page
h_Portal
For Domino 7.0.0 and 7.0.1, the Forms7.nsf file contained two skin types that are not used:
h_DwaLite
h_PortalLite
如何决定使用哪个皮肤呢?
Special items in the JavaScript influence the skin group and skin type to use on a specific page:
h_SetSkinGroup NOTESVAR sets the skin group to use, defined in the s_CommonVars subform.
h_SkinTypeOverride NOTESVAR provides a means of specifying the specific skin type.
例如: 如果读mail时显示邮件页面.变量 h_SkinTypeOverride 则被设置为 'h_MailPage'. h_MailPage中保存着显示页面的值.
如果h_SkinTypeOverride没有预设值, 则由h_Type NOTESVAR 根据如下逻辑关系来决定显示的skin:
如果页面URL用 ?EditDocument 则使用 h_Edit 皮肤;
如果h_Type==“1” (QP Type of Folder)则使用 h_ListFolder 皮肤
如果都不是,则使用 h_Page 皮肤
可以使用页面的JavaScript来取得当前页面的skin属性:
h_CurrentSkinName 和 h_CurrentSkinType

