WordPress.org

Ready to get started?Download WordPress

Forums

allow viewer to select font size (2 posts)

  1. frosty1
    Member
    Posted 8 years ago #

    the site i am working on is directed to senior citizens. i would like to put up a link to allow them to increase the text size without having to do so in their browser. I saw a javascript solution with an alternate style sheet, but i also read that this works on and off. Is there a simpler solution?

  2. schestowitz
    Member
    Posted 8 years ago #

    I can possibly point you to an example site where you can view source and graft some functions.

    http://www.mikeindustries.com/blog/

    Code in:

    http://www.mikeindustries.com/blog/scripts/common-20050811.js

    This also uses the cookie to remember the preferred font size.

Topic Closed

This topic has been closed to new replies.

About this Topic