Justin,

This works fine, thanks a lot!

-- 
Andrey Fedoseev

On 7 августа 2013 Ð³. at 17:50:26, Justin Obara ([email protected]) wrote:

You should just need to change the container for those enactors. Currently they are set to the enhancer's container, which is the body.


The "gpii.discoverTool.enactorSet" makes use of the "fluid.uiEnhancer.starterEnactors".

You can override this with something like the following.

fluid.defaults("my.enactorSet", {
    gradeNames: ["gpii.discoveryTool.enactorSet", "autoInit"],
    components: {
        textSize: {
            container: "newContainer" // replace with the container you'd want to use
        }
        lineSpace: {
            container: "newContainer" // replace with the container you'd want to use
        }
    }
});

Thanks
Justin

On 2013-08-07, at 4:59 AM, Andrey Fedoseev <[email protected]> wrote:

Hello,


My goal now is to modify only the actual content (i.e. text contained inside "article#content" element) when "Enlarge" mode is active, and leave other sections of the page (such as navigation on top) untouched.

I see that text is enlarged by applying "font-size" and "line-height" styles to the <body> element. Is it possible to specify an element that should be used instead of <body> for textSize / lineHeight enactors?


Thanks

-- 
Andrey Fedoseev

_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://lists.idrc.ocad.ca/mailman/listinfo/fluid-work

_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://lists.idrc.ocad.ca/mailman/listinfo/fluid-work

Reply via email to