diff options
-rw-r--r-- | css/styles.css | 5 | ||||
-rw-r--r-- | pages/whats_on.ecpp | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/css/styles.css b/css/styles.css index ecfb75a..01047c8 100644 --- a/css/styles.css +++ b/css/styles.css @@ -190,6 +190,11 @@ div.pagemenu a { font-weight: bold; } +div.pagemenu a.active { + text-decoration: none; + color: blue; + font-weight: bold; +} div.pagemenu span { text-decoration: none; color: black; diff --git a/pages/whats_on.ecpp b/pages/whats_on.ecpp index bc8627d..cccfbb6 100644 --- a/pages/whats_on.ecpp +++ b/pages/whats_on.ecpp @@ -60,6 +60,12 @@ if (type == "now") { <script type="text/javascript"><!-- function init() { +% if (type == "now") { + document.getElementById("nowhref").className = "active"; +% } +% if (type == "next") { + document.getElementById("nexthref").className = "active"; +% } % if (attime != "") { document.getElementById("spectime").value = "<$ displaytime $>"; % } @@ -170,9 +176,9 @@ if (type == "now") { <%include>page_exit.eh</%include> <%def whats_on_actions> -<a href="whats_on.html?type=now"><$ tr("Now") $></a> +<a href="whats_on.html?type=now" id="nowhref"><$ tr("Now") $></a> <span class="sep">|</span> -<a href="whats_on.html?type=next"><$ tr("Next") $></a> +<a href="whats_on.html?type=next" id="nexthref"><$ tr("Next") $></a> <span class="sep">|</span> <span><$ tr("What's on") $></span> <select name="userdeftimes" size="1" id="userdeftimes" onchange="showtime(this)"> |