aboutsummaryrefslogtreecommitdiffstats
path: root/doc/context/channel/help.html
blob: 8c3d1e422e87c0cf1cb397eb64dd03c93e85e028 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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>