Home >Web Front-end >JS Tutorial >jquery changes article content and changes font size code_jquery

jquery changes article content and changes font size code_jquery

WBOY
WBOYOriginal
2016-05-16 17:20:48892browse
Copy code The code is as follows:



Untitled Document

<script> <br><br>$(document).ready(function(){ <br>$('#big_font').click (function(){ <br>$('.news_content').css tutorial({'font-size':'16px'}); <br>}); <br>$('#mid_font').click (function(){ <br>$('.news_content').css({'font-size':'14px'}); <br>}); <br>$('#sma_font').click( function(){ <br>$('.news_content').css({'font-size':'12px'}); <br>}); <br>}); <br></script>





jquery article content font size replacement and change code
jquery Article content font size replacement and change code
jquery article content font size replacement and change code
jquery article content font size replacement and change code



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn