When the block height is bigger than the browser height, the page should scroll to the block header like if there was an anchor to the header, so the user can see the begining of the block and not the end.
Thanks
Julien
When the block height is bigger than the browser height, the page should scroll to the block header like if there was an anchor to the header, so the user can see the begining of the block and not the end.
Thanks
Julien
Comments
Comment #1
pflame commentedHi Julien,
Jquery UI accordion widget is not providing this feature by default. You can use following code in your custom module to scroll to selected block header.
Comment #2
shady_gun commentedUse the following code in the accordion_init.js after line 3 . You can set the scroll speed to any variable speed, The following code sets it to 10.