TextResize

CodeCanyon TextResize 160866
Script \ JavaScript \ Miscellaneous
TextResize \ Decrease \ Script \ Increase \ Resize \ Javascript \ Element

JavaScript - TextResize 160866 by getfresh @ CodeCanyon

Script \ JavaScript \ Miscellaneous

See it in action
To see it in action, head to: http://getfresh.ro/demos/text_resize/

What is TextResize?
TextResize is a jQuery plugin that allows your visitors to adjust the text size of your content.

TextResize adapts both the text size and the line height of the text according to the size requested.

TextResize can be set to allow a maximum number of text size increase/decrease, based on a custom size step. It also features a text reset button, that reverts the text to its initial size.

TextResize is constructed on a parent jQuery selector (e. g. to an element ID, class, tag name) and it can be applied to all child elements, or to a selection of child elements.

You can contain TextResize to a particular HTML element, or apply it to the whole page.

Choose the skin, apply, see effects
Applying the TextResize behavior to your website is simple. You just need to follow the steps below.

- Choose the element(s) to which you wish to apply the TextResize behavior.

- Choose the location of the text adjustment tools (Decrease, Revert, Increase)

- Choose the skin of the adjustment tools ( 18 currently available skins)

- You’re all set, simply paste the code in your page and enjoy

Usage.
<script type="text/javascript" src="http://codecanyon.net/item/textresize/textresize.jquery.js"></script>
<script type="text/javascript">
$('#your_content').textResize({
createNav: 1, // creates the HTML for the resize links
innerTags: '*', // or you can apply just a selection: e. g. 'p', 'div'
navHolder: '#tools', // resize links location: decrease, revert, increase
maxSteps: {increase: 5, decrease: 4} // how many times one can in/decrease
});
</script>

Updated v1.1

- Fixed IE javascript issue.

- New calling method – you can apply TextResize to a list of parent elements in your page.
<script type="text/javascript" src="http://codecanyon.net/item/textresize/textresize.jquery.js"></script>
<script type="text/javascript">
$('#your_content, #another_element').textResize({ // applies text resize to list of parent elements
createNav: 1, // creates the HTML for the resize links
innerTags: '*', // or you can apply just a selection: e. g. 'p', 'div'
navHolder: '#tools', // resize links location: decrease, revert, increase
maxSteps: {increase: 5, decrease: 4} // how many times one can in/decrease
});
</script>

Last Update: N/A; Compatible Browsers: IE7, IE8, IE9, Firefox, Safari, Opera, Chrome; Files Included: JavaScript JS, HTML, CSS; Software Version: jQuery.

QuickAccess Menu; skinableTabs; Image beautifier.

Keywords: custom, decrease, font, increase, jquery, resize, size, skins, text, utility, widget.


Tags: skins, utility, widget, resize, jquery, custom

Create CodeCanyon TextResize 160866 style with After Effect, Cinema 4D, 3DS Max, Apple Motion or PhotoShop. CodeCanyon TextResize 160866 from creative professional designers. Full details of CodeCanyon TextResize 160866 for digital design and education. CodeCanyon TextResize 160866 desigen style information or anything related.