Re: how to change font size of displayed web page?

Jochen Welle <[email protected]> Wed, 26 Jul 2006 13:21:08 +0200
Newsgroups gmane.comp.mozilla.jrex
Message-ID <[email protected]>
I have not found a way to do this with javascript.
Say for example "resize the page to 150%". Then i can set the fontSize 
of elements which have already a fontSize value to 1.5*currentValue, but 
for elements which don't have a value this doesn't work. (If you set the 
fontSize of a <h1>-element to '1.5em', it will become smaller (usually), 
because the 1.5em refer to the parents element font size.)

Jochen


Jean-Philippe Leboeuf schrieb:
> I might be wrong, but a few months ago, I compared some parts of JRex's 
> embedding of Mozilla with the source code of GNOME Epiphany on Linux, 
> and I saw that JRex do not seem to wrap the Mozilla API for changing 
> text size, like Epiphany do.
> Maybe this can be done with Javascript?
> 
> ++jpl
> 
> Jochen Welle wrote:
> 
>> Hi all,
>> i want to change the font size of the displayed web page.
>> The "View" menu in JRexExample has the items "Increase Text Size" and 
>> "Decrease Text Size", but as far as i can see they are not implemented.
>> Can anyone tell me how to change the font size with JRex?
>>
>> Jochen
>> _______________________________________________
>> JRex mailing list
>> [email protected]
>> http://mozdev.org/mailman/listinfo/jrex
>>
>>
>>
> 
> 
> _______________________________________________
> JRex mailing list
> [email protected]
> http://mozdev.org/mailman/listinfo/jrex