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