4.3.js 224 B

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