Results 1 to 6 of 6

Thread: font size changer

  1. #1
    Join Date
    Jun 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default font size changer

    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! ...
    Last edited by mr_java; 06-30-2005 at 05:04 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2005
    Location
    cali
    Posts
    95
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Lol, John that is very funny!

  4. #4
    Join Date
    Jun 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    HTML Code:
    <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>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Jun 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •