Resize the font size using JQuery is very simple one, Onclick how to make font size increase and decrease using Jquery. here we are going to see thing about designing. just make simple thing, it is also like magnifying the text onclick. usually we are using shortcut key CTRL + + or CTRL + - to zoom in and zoom out the browser window size. but here are going increase and decrease only the font size of the web page. let see the details about that.
for this function, just need simple script and make call to parseFloat in Query that will make the operation. here we go, just see the coding of this.
the above is the sample code, but you can give any of your content in the container div tag. and the script could be come in the same page.
i hope you can get clear idea from the above script. the script makes increase and decrease operation using Jquery, here the parseFloat make the call to JQuery that will perform the operation. which means that, font-size, increasing and decreasing.
RELATED POSTS :