Skip to main content

Bug Tracker

Side navigation

#7542 closed feature (patchwelcome)

Opened November 17, 2010 09:13AM UTC

Closed December 23, 2010 05:47PM UTC

Last modified March 13, 2012 05:48PM UTC

scrollWidth/scrollHeight function

Reported by: george_xalias@yahoo.com Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

I would like a function to return the actual width of an element event if it is overflow:hidden;

Actual width: the width the element would have if it had width:auto and it was under the body element.

e.g. I have a table of divs that hold text. If text is too much for the current div to show (actual width) maybe activate a tooltip function.

Something like that

Attachments (0)
Change History (5)

Changed November 17, 2010 09:15AM UTC by george_xalias@yahoo.com comment:1

Also a serializeArray for all elements not only on forms. I have done something similar but would like it native.

Changed November 17, 2010 09:39AM UTC by jitter comment:2

_comment0: Please post different feature requests as different tickets1290031881015265

Please post different feature requests as different tickets. And provide a better description on how you would expect serializeArray to work on arbitrary elements

Changed November 17, 2010 10:16PM UTC by snover comment:3

summary: JQuery 1.5 suggestionscrollWidth/scrollHeight function

Changed November 20, 2010 09:47PM UTC by snover comment:4

keywords: → needsreview

I’m not sure of the usefulness of this versus $.fn.attr("scrollTop").

Changed December 23, 2010 05:47PM UTC by dmethvin comment:5

keywords: needsreview
resolution: → patchwelcome
status: newclosed

These kinds of suggestions are great to implement as simple plugins where you can test their utility; once they are written and debugged we can consider them for inclusion.