View Full Version : font size changer
mr_java
06-30-2005, 02:32 PM
Hi guys do you know how to create a menu where users can change the size of the fonts ?
something like this
http://regumrex69.250free.com/FONTCUSTOMIZER.html
or link me to any website where i can ... u know! ... :cool:
jscheuer1
07-02-2005, 01:28 AM
That page has the instructions on and linked to it. Plus, you can view their source and see exactly how they did it. Also, in case you were not aware, every browser already comes with the ability (somewhat limited in IE) to change these values, it is called the view menu.
bubba.daniel
07-02-2005, 02:56 AM
Lol, John that is very funny!
mr_java
07-30-2005, 09:37 PM
i just cant do it, i need help... can samone show me any website with such style. i'm not talking about IE and stuff.
jscheuer1
07-30-2005, 10:38 PM
<html>
<head>
<title></title>
</head>
<body>
Choose Text Size:<br>
<SPAN STYLE="background-color:#FFFFFF;color:#000000;font-size:14px;cursor:pointer" onClick="document.body.style.fontSize='120%';this.style.backgroundColor='#FFFFFF';this.style.color='#000000';this.style.textDecoration='underline';" onMouseover="this.style.textDecoration='underline';this.style.color='red';" onMouseout="this.style.textDecoration='none';this.style.color='#000000';"> Larger </SPAN> <br>
<SPAN STYLE="background-color:#FFFFFF;color:#000000;font-size:14px;cursor:pointer" onClick="document.body.style.fontSize='100%';this.style.backgroundColor='#FFFFFF';this.style.color='#000000';this.style.textDecoration='underline';" onMouseover="this.style.textDecoration='underline';this.style.color='red';" onMouseout="this.style.textDecoration='none';this.style.color='#000000';"> Normal </SPAN> <br>
<SPAN STYLE="background-color:#FFFFFF;color:#000000;font-size:14px;cursor:pointer" onClick="document.body.style.fontSize='80%';this.style.backgroundColor='#FFFFFF';this.style.color='#000000';this.style.textDecoration='underline';" onMouseover="this.style.textDecoration='underline';this.style.color='red';" onMouseout="this.style.textDecoration='none';this.style.color='#000000';"> Smaller </SPAN> <br>
some text
</body>
</html>
mr_java
07-31-2005, 06:31 PM
Thank you so much !
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.