How to update a css file when using the Browser widget

James Hale james at thehales.id.au
Mon Nov 5 08:49:10 EST 2018


hh wrote:
> Say you have the font-size declaration in the css for body.
> 
> Then script, for example:
> do "document.body.style.fontSize = '110%';" in widget "Browser"

Brilliant!
Thank you so much Hermann.

Putting the script in a button worked like a charm

Putting it in the handler that loads the page sort of works.

putting in an "on browserDocumentLoadComplete" handler works, full stop.


James








More information about the use-livecode mailing list