Scale fonts

  1. 5 weeks ago


    Purpose: Have a font scaler

    I have added a "font scaler" on an overlay to increase and decrease font size. I am using a textbox with "run javascript" with the following:

    $("body").animate({'font-size': '-=5'});

    This works perfectly, BUT, the text box does not retain the font change when you change page. I have tried using the class "SCText" with the same result. Is there a way to keep the font change across pages?

  2. 4 weeks ago

    Angelo S

    Mar 17 Administrator

    Hello, you should use the localStorage to save the setting, then read the saved value on page load and re-apply it.


or Sign Up to reply!