On 2011-07-22, at 5:01 PM, Cheetham, Anastasia wrote:
> I've been writing customizations of UI Options for the documentation
Yet another candidate for simplification:
Customizing a site's default settings
This requires passing options to the UI Enhancer's settingsStore subcomponent:
fluid.pageEnhancer({
components: {
settingsStore: {
options: {
defaultSiteSettings: {
textFont: "comic",
theme: "yb",
textSize: 1.5,
lineSpacing: 1.3,
links: true,
inputsLarger: true
}
}
}
}
});
See
https://github.com/acheetham/Infusion-Instructional-Demos/blob/master/src/webapp/demos/instructional/uiOptions/html/fullNoPreview-customDefaultSiteSettings.html
for the full implementation.
--
Anastasia Cheetham Inclusive Design Research Centre
[email protected] Inclusive Design Institute
OCAD University
_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://lists.idrc.ocad.ca/mailman/listinfo/fluid-work