Posted By

blazingarrow on 06/07/11


Tagged


Versions (?)

Javascript: jQuery: Code optimieren


 / Published in: JavaScript
 

  1. // was kann hier optimiert werden?
  2. $('#box').hide();
  3. $('#box').show();
  4.  
  5. //
  6. $('#box').css({
  7. 'height' : '300px'
  8. ,'color' : '#few39023'
  9. ,'font-size' : '12px'
  10. });

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: blazingarrow on June 7, 2011

var $box = $('#box'); $box.show().hide();

You need to login to post a comment.