Commit Graph

18 Commits

Author SHA1 Message Date
John Resig
920099b29c First pass at unifying the various CSS methods in jQuery (jQuery.style, jQuery.curCSS, and jQuery.css are now all under jQuery.css). 2010-09-05 10:17:18 -04:00
jeresig
4f9aa62a85 Added in .height(fn) and .width(fn) support. Fixes #5915. 2010-01-23 20:49:59 -05:00
jeresig
61e37d4149 Made a number of spacing changes to bring the code more-inline with the jQuery Core Style Guideline. 2009-12-21 19:58:13 -05:00
John Resig
a5f8a14411 Make sure that calling .width(num) or .height(num) on an empty set returns the empty set. Fixes #5600. 2009-12-09 21:58:29 -08:00
Karl Swedberg
ddb86f8d5b added curly braces around all if/else statements 2009-11-28 04:09:14 +08:00
John Resig
9d46c0ebb4 Switching to use a better check for if the node is a document. 2009-07-18 19:44:15 +00:00
Brandon Aaron
2adb9b2a0f width, height, scrollLeft, and scrollTop now work with windows and documents other than just the one it was loaded in (like iframes and popups) 2009-04-22 00:55:44 +00:00
Brandon Aaron
f8ef75eb91 remove trailing spaces 2009-03-23 01:55:17 +00:00
Brandon Aaron
a974b255c3 fix for #4399, removing unused variables 2009-03-22 04:24:40 +00:00
Ariel Flesler
2d4755a0fb jquery dimensions: removed redundant code 2009-03-06 04:23:44 +00:00
John Resig
848c45ea17 Added some significant speed-ups to height/width checks, thanks to some code and investigation by Mike Helgeson. Fixes #3082. 2009-02-13 22:58:57 +00:00
John Resig
b850ab2b8e Added the new jQuery.support object and removed all uses of jQuery.browser from within jQuery itself (while simultaneously deprecating the use of jQuery.browser). 2008-12-21 21:22:44 +00:00
Ariel Flesler
5a92ec263d jquery dimensions & offset: moving the local function 'num' to core, so it can be safely used by both modules. 2008-05-15 12:53:07 +00:00
Ariel Flesler
f717260eea jquery dimensions: reducing the code size. 2008-05-14 17:23:44 +00:00
Ariel Flesler
3f5ff3097c jquery: removing unnecessary trailing and leading spaces & tabs. 2008-05-13 01:45:58 +00:00
Scott González
bd41548792 core: make sure all source files end with a single blank line. 2008-04-30 19:35:17 +00:00
Scott González
ea44348fdb core: Adding missing radix for paresInt. 2008-04-29 23:26:53 +00:00
Brandon Aaron
aea452f162 Merged dimensions with core 2008-04-29 03:26:06 +00:00