#7542 closed feature (patchwelcome)
scrollWidth/scrollHeight function
Reported by: | 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
Change History (5)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Please post different feature requests as different tickets
comment:3 Changed 12 years ago by
Summary: | JQuery 1.5 suggestion → scrollWidth/scrollHeight function |
---|
comment:4 Changed 12 years ago by
Keywords: | needsreview added |
---|
I’m not sure of the usefulness of this versus $.fn.attr("scrollTop")
.
comment:5 Changed 12 years ago by
Keywords: | needsreview removed |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
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.
Also a serializeArray for all elements not only on forms. I have done something similar but would like it native.