Older version of jQuery has trouble finding the width/height of invisible DOM elements. With element or its parent element has css property 'display' set to 'none'. `$('.hidden').width();` will return 0 instead of the actual width; This plugin simply fix it.

Tags: width, height, hidden element width, hidden element height, actual


Asset Type

  • https://cdnjs.cloudflare.com/ajax/libs/jquery.actual/1.0.5/jquery.actual.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/jquery.actual/1.0.5/jquery.actual.js