Script wanted: Site visitor can change/format text size, colour and font.  How can I do it?

Posted on 2006-05-10
Last Modified: 2013-12-03

I am working on an online e-book project, and I would like to offer my visitors the ability to customize the text size, colour and font face, in the easiest possible way, and have some option to save the preferences.  You can see the current site at the following url;

As you may notice, I have already tried implementing such a script.  It was a long time ago, and I decided to clean up the site, and make it more user-friendly, so the script functionality is getting an overhaul too.  The current text customizer doesn't work too well, and I was hoping one of the experts could help me out with either a new one, or ideas on cleaning up the current one.

Question by:thyros
    LVL 8

    Accepted Solution

    sounds like.... invasion of the body switchers....

    You can do tons with CSS!  want a different face every month??
    LVL 23

    Expert Comment


    Author Comment


    Thank you both for your comments.


    When I initially looked at the body switchers link you posted, it didn't seem to be quite what I wanted, but actually a rehash of the common style switchers.  However, upon further investigation, and actually implementing the script with a little tweaking to change text/font styling, it worked really nicely, and I realize it was the perfect solution, and it worked much better than I had hoped.

    The old script I had on there, you would have to select from several options first, select a radio button to activate, and then click on a button to store the formatting preferences.  Then the whole page would reload, and if you didn't like one of the options you selected, for example, the text size was a little small, then you would have to reselect all the options like text size, colour, font etc, and save again, before you could preview the changes.  However, with this new script, it is a matter of selecting from a dropdown list, and the changes are instant, and it saves the preferences all by itself, and is very easy to resort to the default, without a hitch.

    You do not know how much this means to me.   I have spent many nights wondering and dreaming about a script with such nice functionality, and I am really glad to have been able to implement it.  

    Thank you very much, I really appreciate this.  I cannot recompense you adequately,  but know that my prayers and kind thoughts are with you, and one day you will find something from this..

    thanks again..

    btw you can see the effect on the following page (it is still in development);

    peace out
    LVL 8

    Expert Comment

    Glad it will work for you.  I was not looking for my site so much style switching....  I was looking for a dirrerent skin each month.  Fig'd a fresh new look.

    So good luck with it.

    Glad to help!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
    What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now