04.js 243 B

12345678910
  1. $(document).ready(function () {
  2. "use strict";
  3. var $speech = $('div.speech');
  4. $('#switcher-large').click(function () {
  5. var num = parseFloat($speech.css('fontSize'));
  6. num *= 1.4;
  7. $speech.css('fontSize', num + 'px');
  8. });
  9. });