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 comment:1
Changed November 17, 2010 09:39AM UTC by comment:2
| _comment0: | Please post different feature requests as different tickets → 1290031881015265 |
|---|
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 comment:3
| summary: | JQuery 1.5 suggestion → scrollWidth/scrollHeight function |
|---|
Changed November 20, 2010 09:47PM UTC by 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 comment:5
| keywords: | needsreview |
|---|---|
| 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.