mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-27 11:12:44 +00:00
20 lines
No EOL
946 B
HTML
20 lines
No EOL
946 B
HTML
<script>
|
|
var contextualHelp1 = function (target, openSidePanel) {
|
|
$("#help-content").removeClass('help-content-open'); // Close the help panel
|
|
$("#navbar-collapse-1").removeClass('in'); // Collapse the navbar for small screens
|
|
if (openSidePanel) {
|
|
$("main").addClass('region_1-on'); // Open the side panel to highlight element
|
|
} else {
|
|
$("main").removeClass('region_1-on');
|
|
}
|
|
// Animate the page scroll to the element and then pulse the element to direct attention
|
|
$('html,body').animate({scrollTop: $(target).offset().top - $('#navbar-collapse-1').height() - 20}, 'slow');
|
|
for (i = 0; i < 3; i++) {
|
|
$(target).fadeTo('slow', 0.1).fadeTo('slow', 1.0);
|
|
}
|
|
}
|
|
</script>
|
|
<dl class="dl-horizontal">
|
|
<dt>General</dt>
|
|
<dd>This is the home page of a channel. It is similar to someone's "wall" in a social network context.</dd>
|
|
</dl> |