Antivirus|Multimedia Tools|Burning Tools|Internet Tools|Recovery Tools|Converter|PC Games|Full Version Software|Mediafire|Ebooks english...

Monday, March 11, 2013

Stylish JQuery Text Resize Buttons For Your Blogger

This is a special effect for your blogger. It can increase your blog text size when we are clicking on increase button.  After add this widget your blog shows three button plus, minus and resize. Green plus button to increase your text size and Red minus button to decrease your text size. You can resize your text with 3rd option.This is  useful program. If you want to add in your blogger. Follow this post..

text resize jquery effect from(www.masterhacksindia.blogspot.com)

 

Log In to your Blogger dashboard.

  • Go to Template Option.

 

  • Click on Edit HTML .

 

  • Tick Expand Widget Template option above

 

  • Find (CTRL+F)  </head> tag.

 

  • Copy and paste below code above </head> tag.

 

 

<!-- Start Text re size gadget by www.masterhacksindia.blogspot.com -->

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js' type='text/javascript'/>

<script>
$(document).ready(function(){
//ID, class and tag element that font size is adjustable in this array
//Put in html or body if you want the font of the entire page adjustable
var section = new Array(&#39;span&#39;,&#39;.section2&#39;);
section = section.join(&#39;,&#39;);
// Reset Font Size
var originalFontSize = $(section).css(&#39;font-size&#39;); 
$(&quot;.resetFont&quot;).click(function(){
$(section).css(&#39;font-size&#39;, originalFontSize);
});
// Increase Font Size
$(&quot;.increaseFont&quot;).click(function(){
var currentFontSize = $(section).css(&#39;font-size&#39;);
var currentFontSizeNum = parseFloat(currentFontSize, 10);
var newFontSize = currentFontSizeNum*1.2;
$(section).css(&#39;font-size&#39;, newFontSize);
return false;
});
// Decrease Font Size
$(&quot;.decreaseFont&quot;).click(function(){
var currentFontSize = $(section).css(&#39;font-size&#39;);
var currentFontSizeNum = parseFloat(currentFontSize, 10);
var newFontSize = currentFontSizeNum*0.8;
$(section).css(&#39;font-size&#39;, newFontSize);
return false;
});
});
</script>
<!-- End Text re size gadget by www.masterhacksindia.blogspot.com –>

 

  • Then Find(CTRL+F)  <div class='post-header-line-1'/> tag.

 

  • Copy below code and paste it directly below  <div class='post-header-line-1'/> tag.

 

 

<!-- Start Text re size gadget by www.masterhacksindia.blogspot.com -->

<b:if cond='data:blog.pageType == "item"'>

<table border='0' style='float:right; margin-left:5px;'><tr><td><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgqVCoHLyOPzIZyEz7N3K4i-P6g0nSg0MvKKA7uod6krShkPMu4tO_INsRPR3f9X9l0oVi0VtzvckibYT748LYIogp2WUCjphka_kHpq3dGGybvhbxZBplmXdsTA_NBoOLWTJjqzTi4GI/s1600/font-size-blogger-gadget.png'/> | <a class='increaseFont' style='cursor: pointer; cursor: hand;' title='Larger Text'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoLwvl_d7rWB0JNUBBKx-T1LU3Rb93rS10VzVOISnVBqAWlTdKOEEP2_RyEEnHEx9ijqhQxUP6zoszww4UzODkHdVvK4vqUqz-bZR4o5GKukUx3bljG7CUHQPHinv1OzYdKqqBSfPeSSo/s1600/bigger-font+-+Copy.png'/></a> 
<a class='decreaseFont' style='cursor: pointer; cursor: hand;' title='Smaller Text'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg80LiYmlwDVQm6zY7L9Aa5slkMkkoGw3MiFUEft5QbhMO0fwopfU4SAdNkDcqRoxzgBcyXczmYOe_hrENtdv79edYN3VL1S1-KmjlX_3rnPvwNU9N9xwzA5ScDUB9mHHn-Mekm-TBkV2g/s1600/smaller-font.png' style='cursor: hand;'/></a> 
<a class='resetFont' style='cursor: pointer; cursor: hand;' title='Reset Text Size'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsxPvcsscOikymByOcH9ptNVeNngPz2zxUukIASBnfBuM_A8VpYC_0NzSyjS1peQ5a5VLYnpolQNAnMzPf_ucAxyC51kDRx5p_35XgCxWxV077jy0_OJ_5Qy0h6x0tI9Eua9GNS_0m5n8/s1600/reset-font.png' style='cursor: hand;'/></a></td></tr></table>

</b:if>

<!-- End Text re size gadget by www.masterhacksindia.blogspot.com –>

 

  • Again Find(CTRL+F) <data:post.body/> and it replace with below code.

 

<span><data:post.body/></span>

 

 

  • Save your template.

 

 

 

Leave a comment …….. If links are not working………………….

Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

0 comments

:) :-) :)) =)) :( :-( :(( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ :-$ (b) (f) x-) (k) (h) (c) cheer

 
© 2011 English Software Collection
Designed by BlogThietKe Cooperated with Duy Pham
Released under Creative Commons 3.0 CC BY-NC 3.0
Posts RSSComments RSS
Back to top