| | 1 | [Feature] |
| | 2 | - The target can be 'max' to scroll to the end while keeping it elegant. |
| | 3 | |
| | 4 | 1.4 |
| | 5 | [Fix] |
| | 6 | - Fixed the problem when scrolling the window to absolute positioned elements on Safari. |
| | 7 | - Fixed the problem on Opera 9.5 when scrolling the window. That it always scrolls to 0. |
| | 8 | [Feature] |
| | 9 | - Added the settings object as 2nd argument to the onAfter callback. |
| | 10 | - The 3rd argument of scrollTo can be just a function and it's used as the onAfter. |
| | 11 | - Added full support for iframes (even max scroll calculation). |
| | 12 | - Instead of $.scrollTo, $(window).scrollTo() and $(document).scrollTo() can be used. |
| | 13 | - Added $().scrollable() that returns the real element to scroll, f.e: $(window).scrollable() == [body|html], works for iframes. |
| | 14 | [Enhancement] |
| | 15 | - Cleaned the code a bit, specially the comments |
| | 16 | |
| 15 | | * Added semicolon to the start, for safe file concatenation |
| 16 | | * Added a limit check, values below 0 or over the maximum are fixed. |
| 17 | | * Fixed the behavior for Opera, which seemed to react to both changes on <html> and <body>. |
| 18 | | * Now it should work faster, only one of html or body go through all the processing, instead of both for all browsers. |
| 19 | | * The option speed has been renamed to duration. |
| 20 | | * The duration can be specified with a number as 2nd argument, and the rest of the settings as the third ( like $().animate ) |
| 21 | | * Remade the demo |
| 22 | | * The border is also reduced, when 'margin' is set to true. |
| | 37 | [Enhancement] |
| | 38 | - Added semicolon to the start, for safe file concatenation |
| | 39 | - Added a limit check, values below 0 or over the maximum are fixed. |
| | 40 | - Now it should work faster, only one of html or body go through all the processing, instead of both for all browsers. |
| | 41 | [Fix] |
| | 42 | - Fixed the behavior for Opera, which seemed to react to both changes on <html> and <body>. |
| | 43 | - The border is also reduced, when 'margin' is set to true. |
| | 44 | [Change] |
| | 45 | - The option speed has been renamed to duration. |
| | 46 | [Feature] |
| | 47 | - The duration can be specified with a number as 2nd argument, and the rest of the settings as the third ( like $().animate ) |
| | 48 | - Remade the demo |
| 39 | | |
| 40 | | * The option 'onafter' is now called 'onAfter'. |
| 41 | | * Two axis can be scrolled together, this is setted with the option 'axis'. |
| 42 | | * In case 2 axis are chosen, the scrolling can be queued: one scrolls, and then the other. |
| 43 | | * There's an intermediary event, 'onAfterFirst' called in case the axis are queued, after the first ends. |
| 44 | | * If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value). |
| | 67 | [Change] |
| | 68 | - The option 'onafter' is now called 'onAfter'. |
| | 69 | [Feature] |
| | 70 | - Two axes can be scrolled together, this is set with the option 'axis'. |
| | 71 | - In case 2 axes are chosen, the scrolling can be queued: one scrolls, and then the other. |
| | 72 | - There's an intermediary event, 'onAfterFirst' called in case the axes are queued, after the first ends. |
| | 73 | - If the option 'margin' is set to true, the plugin will take in account, the margin of the target(no use if target is a value). |