Lines 156-162
Link Here
|
156 |
[% END %] |
156 |
[% END %] |
157 |
[% END # IF /searchdesc %] |
157 |
[% END # IF /searchdesc %] |
158 |
|
158 |
|
159 |
<div id="floating"> |
159 |
<div id="floating" class="sticky"> |
160 |
<div id="toolbar" class="toolbar row align-items-center"> |
160 |
<div id="toolbar" class="toolbar row align-items-center"> |
161 |
<div id="top-pages" class="col"> |
161 |
<div id="top-pages" class="col"> |
162 |
[% INCLUDE 'page-numbers.inc' %] |
162 |
[% INCLUDE 'page-numbers.inc' %] |
Lines 572-578
Link Here
|
572 |
[% END %] |
572 |
[% END %] |
573 |
[% IF ( OverDriveEnabled ) %][% Asset.js("js/overdrive.js") | $raw %][% END %] |
573 |
[% IF ( OverDriveEnabled ) %][% Asset.js("js/overdrive.js") | $raw %][% END %] |
574 |
[% Asset.js("js/authtoresults.js") | $raw %] |
574 |
[% Asset.js("js/authtoresults.js") | $raw %] |
575 |
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] |
|
|
576 |
[% IF ( OpacHighlightedWords ) %] |
575 |
[% IF ( OpacHighlightedWords ) %] |
577 |
[% Asset.js("lib/jquery/plugins/jquery.highlight-5.js") | $raw %] |
576 |
[% Asset.js("lib/jquery/plugins/jquery.highlight-5.js") | $raw %] |
578 |
[% END %] |
577 |
[% END %] |
Lines 904-915
Link Here
|
904 |
if (e.keyCode == 13) { e.preventDefault(); } |
903 |
if (e.keyCode == 13) { e.preventDefault(); } |
905 |
}); |
904 |
}); |
906 |
|
905 |
|
907 |
Sticky = $("#floating"); |
|
|
908 |
Sticky.hcSticky({ |
909 |
stickTo: ".searchresults", |
910 |
stickyClass: "floating" |
911 |
}); |
912 |
|
913 |
}); |
906 |
}); |
914 |
</script> |
907 |
</script> |
915 |
[% END %] |
908 |
[% END %] |