mirror of
https://github.com/friendica/friendica
synced 2025-04-26 20:30:11 +00:00
Frio: sitck aside on page scroll
use sticky-kit jquery library to keep aside inside viewport when user scrolls the page.
This commit is contained in:
parent
5b731a60ae
commit
e569e20caf
3 changed files with 17 additions and 0 deletions
|
@ -315,6 +315,13 @@ $(document).ready(function(){
|
|||
$(document).on('change', 'textarea', function(event) {
|
||||
autosize.update(event.target);
|
||||
});
|
||||
|
||||
/*
|
||||
* Sticky aside on page scroll
|
||||
*/
|
||||
$("aside").stick_in_parent({
|
||||
offset_top: 100 // px, header + tab bar + spacing
|
||||
});
|
||||
});
|
||||
|
||||
function openClose(theID) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue