jQuery Plugin To Increase and Decrease Font Sizes Of Webpage
File Size: | 6.63 KB |
---|---|
Views Total: | 2299 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |
A lightweight and fast jQuery plugin for creating a text size controller which allows the visitors to change font size according which icons they choose. Cookies are supported to record font-size so the plugin can get cookies which visitors have selected the font size on page refreshed.
How to use it:
1. Load the jQuery library and the soyo-jquery-multi-font-size.min.js in the document.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="soyo-jquery-multi-font-size.min.js"></script>
2. Create a font size selection box in the html document.
<div id="font_selection_box"></div>
3. The plugin will change font size within class with the name "multi-fontszie".
<div class="multi-fontszie"> <p> Your content goes here </p> </div>
Change log:
2014-07-28
- update
This awesome jQuery plugin is developed by soyosolution. For more Advanced Usages, please check the demo page or visit the official website.