This blog is about the adventures of a software developer from Amsterdam who is now living in Nice and working in Sophia Antipolis, on the Côte d'Azur.



Tuesday, May 23, 2006

Font size buggy buttons

Yesterday, Anonymous said:

sympa ton blog, mais les caractères sont trop petits !!! c'est fatiguant à lire !

To accommodate readers who wish to view this blog in a different font size but do not like to change their browser's view settings, I've added these buttons to the top of the page.

          

However, they do not work correctly ! At least not on my office XP/Firefox. When clicking for a smaller font, at the first click it actually gets larger instead! This javascript was copied from http://dhtmlnirvana.com/content/dhtml/fontsize/fontsize1.html. As I'm lazy I think it's good enough; if you have a clean solution, please tell me;

1 Comments:

Blogger Youri said...

Oi voceis! Q bonito e ai..incrivel. Ja posso dizer quaze com certeza q vou chegar ai em agosto ;)
Por encuando aqui o tempo se piorou otravez, mas e bom porque tenho q estudar muito estes dias para os exames.
A casa esta a acostumarse ao novo pessoal..parece q'sta bem :)
Ate dia 7!
x
Youri

14:56

 

Post a Comment

<< Home