Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8686

Show
Ignore:
Timestamp:
01/21/08 23:22:29 (4 months ago)
Author:
madrobby
Message:

script.aculo.us: Fix an issue with Effect.ScrollTo that caused Firefox to scroll to the wrong offset in some situations. Closes #10245.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/scriptaculous/CHANGELOG

    r8680 r8686  
     1* Fix an issue with Effect.ScrollTo that caused Firefox to scroll to the wrong offset in some situations. Closes #10245.  [nik.wakelin] 
     2 
    13* Fixes an issue with IE ghosting on non-absolute elements. Closes #10423.  [Tanrikut, tdd] 
    24 
  • spinoffs/scriptaculous/src/effects.js

    r8549 r8686  
    510510    scrollOffsets = document.viewport.getScrollOffsets(), 
    511511    elementOffsets = $(element).cumulativeOffset(), 
    512     max = (window.height || document.body.scrollHeight) - document.viewport.getHeight();  
     512    max = document.viewport.getScrollOffsets[0] - document.viewport.getHeight();  
    513513 
    514514  if (options.offset) elementOffsets[1] += options.offset; 
  • spinoffs/scriptaculous/test/functional/index.html

    r7880 r8686  
    3636  <li><a href="effects4_test.html" target="test">effects4_test</a></li> 
    3737  <li><a href="effects5_test.html" target="test">effects5_test</a></li> 
     38  <li><a href="effects5b_test.html" target="test">effects5b_test</a></li> 
    3839  <li><a href="effects6_test.html" target="test">effects6_test</a></li> 
    3940  <li><a href="effect_shake.html" target="test">effect shake</a></li>