DISQUS

evansims.com: jQuery: Autoscale Element to Parent Width

  • Bernd Schimmer · 3 months ago
    Hi Evan,

    it works fine. Even with classes for pictures.

    the only thin wrong in your example-code is the " after the #featrued-image. It must be a single '.

    $(document).ready(function(){
    autoscale(new Array('object', '#featured-image'));
    });

    Thanks!
    Bernd
  • Evan Sims · 3 months ago
    Right you are; fixed. Thanks!