make livestream btn green when visiting that page
authorAndrew Engelbrecht <andrew@fsf.org>
Fri, 23 Mar 2018 21:13:28 +0000 (17:13 -0400)
committerAndrew Engelbrecht <andrew@fsf.org>
Fri, 23 Mar 2018 21:13:28 +0000 (17:13 -0400)
2018/includes/livestream_js.html [new file with mode: 0644]
2018/includes/nav-list-2.html
2018/live/index.html

diff --git a/2018/includes/livestream_js.html b/2018/includes/livestream_js.html
new file mode 100644 (file)
index 0000000..32598ed
--- /dev/null
@@ -0,0 +1,3 @@
+<script type="text/javascript">
+ $(".livestream-link").addClass("active");
+</script>
index 349d5415a0a8837c036f0f2dd69a76b6f9446ca7..309c88a6707c10cc4de54f63e738a244a836fb63 100644 (file)
@@ -1,7 +1,7 @@
 <!-- to make a button green on some pages, add class="ahp-link" to an <li> tag. -->
 <li class="speakers-link"><a href="/2018/speakers/">Speakers</a></li>
 <li class="program-link"><a href="/2018/program/">Program</a></li>
-<li class="live-link"><a href="/2018/live">Livestream <span class="glyphicon glyphicon-globe"></span></a></li>
+<li class="livestream-link"><a href="/2018/live">Livestream <span class="glyphicon glyphicon-globe"></span></a></li>
 <li class="social-events-link"><a href="/2018/social/">Events</a></li>
 <li class="getting-around-link"><a href="/2018/getting-around">Travel, Food & Lodging</a></li>
 <li class="safe-space-policy-link"><a href="/2018/safe-space-policy/">Safe Space Policy</a></li>
index 5c637f70955f03a09294fbc2076c7144fcfd28ed..bcb1130cc86e465764742c610f6fba0491134242 100755 (executable)
@@ -75,4 +75,5 @@ ffplay https://live.fsf.org/stream-155.webm
 <script type="text/javascript">
 $("#p-sessions").addClass("active").text("Sessions");
 </script>
+<!--#include virtual="/2018/includes/livestream_js.html"-->
 <!--#include virtual="/2018/includes/close.html" -->