Line 338: | Line 338: | ||
} | } | ||
− | + | <!-- test --> | |
} | } | ||
− | ul. | + | ul.nav2-pills { |
top: 20px; | top: 20px; | ||
position: fixed; | position: fixed; | ||
Line 363: | Line 363: | ||
</style> | </style> | ||
</head> | </head> | ||
− | <body id="myPage" data-spy="scroll" data-target=" | + | <body id="myPage" data-spy="scroll" data-target="#myScrollspy" data-offset="60"> |
<div id="top"></div> | <div id="top"></div> | ||
<a id="myBtn" href="#top" title="To Top"> | <a id="myBtn" href="#top" title="To Top"> | ||
Line 484: | Line 484: | ||
</div> | </div> | ||
− | + | ||
+ | |||
<div class="container"> | <div class="container"> | ||
<div class="row"> | <div class="row"> | ||
<nav class="col-sm-3" id="myScrollspy"> | <nav class="col-sm-3" id="myScrollspy"> | ||
− | <ul class="nav | + | <ul class="nav nav2-pills nav-stacked"> |
<li class="active"><a href="#section1">Section 1</a></li> | <li class="active"><a href="#section1">Section 1</a></li> | ||
<li><a href="#section2">Section 2</a></li> | <li><a href="#section2">Section 2</a></li> |
Revision as of 12:59, 6 September 2018
Notebook
October
In this example we have added a "plus" sign to each button. When the user clicks on the button, the "plus" sign is replaced with a "minus" sign.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
September
In this example we have added a "plus" sign to each button. When the user clicks on the button, the "plus" sign is replaced with a "minus" sign.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Section 1
Try to scroll this section and look at the navigation list while scrolling!
Section 2
Try to scroll this section and look at the navigation list while scrolling!
Section 3
Try to scroll this section and look at the navigation list while scrolling!
Section 4-1
Try to scroll this section and look at the navigation list while scrolling!
Section 4-2
Try to scroll this section and look at the navigation list while scrolling!