Jump to content
xisto Community
demonlord

Font Size Changer

Recommended Posts

ok i need a script that will allow people to change the font size of the page just by clicking on an image. like if i had 3 images, a plus, a minus, and one that said reset. if they clicked on the plus the size would go up. visa versa if they clicked on the minus the size would go down. and if they clicked on the reset it would go back to normal size.if some one knows how to do this or where i can find a script for this that would be great.

Share this post


Link to post
Share on other sites

You are wanting a link with the image being the link and using functions to change the font. I do not know the exact functions, but I can show you how to use the link.

<a href="java script:function1()"><img src="up.gif"></a> <a href="java script:function2()"><img src="reset.gif"></a> <a href="java script:function3()"><img src="down.gif"></a>

Something like that should give you the functionality of the buttons. Of course the image path and the function names should be changed to suit your needs.
Edited by coolcat50 (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.