diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-04-08 12:13:28 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-04-08 12:13:28 +0200 |
commit | a57cd77ee3e733794563e610cd361301a5c46224 (patch) | |
tree | 840c77e5bcf49c8126ec1a0fa196099b0cda8c5c | |
parent | 962599f442f56a2b8ac318183eb5e5857f5cdca8 (diff) | |
download | site-a57cd77ee3e733794563e610cd361301a5c46224.tar.gz |
Go to top tweaks
-rw-r--r-- | js/curriculum.js | 4 | ||||
-rw-r--r-- | pages/curriculum.html | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/js/curriculum.js b/js/curriculum.js index 664df46..e122640 100644 --- a/js/curriculum.js +++ b/js/curriculum.js @@ -74,8 +74,8 @@ define(['courses'], function(courses) { var links_block = document.createElement('p'); var back_to_top = document.createElement('a'); - back_to_top.href = '#top'; - back_to_top.textContent = 'Back to top'; + back_to_top.href = '#/curriculum/menu'; + back_to_top.textContent = 'Back to table'; links_block.appendChild(back_to_top); citems.appendChild(links_block); }); diff --git a/pages/curriculum.html b/pages/curriculum.html index d6c2bd6..dfa5e3f 100644 --- a/pages/curriculum.html +++ b/pages/curriculum.html @@ -1,7 +1,6 @@ <script> require(['curriculum'], function(main) { main(); }); </script> -<div id="curriculum-menu"></div> <p> Your future begins at TU/e in the <a href="https://www.tue.nl/en/education/tue-bachelor-college/">Bachelor @@ -32,4 +31,7 @@ You can find the Data Science curriculum below, be sure to click on the courses in order to view their content. </p> +<a id="/curriculum/menu"></a> +<div id="curriculum-menu"></div> + <div id="curriculum-items"></div> |