about: add info about navigation and add topics navigation keys
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@222 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
b698d23ca9
commit
2bc4e0401b
2 changed files with 109 additions and 0 deletions
site
|
@ -71,9 +71,29 @@ document.addEventListener("keypress", function(event) {
|
|||
location.href = topicPage;
|
||||
}
|
||||
break;
|
||||
case "0":
|
||||
case "~":
|
||||
location.href = "{{ site.baseurl }}/";
|
||||
break;
|
||||
case "1":
|
||||
location.href = "{{ site.baseurl }}/pages/topic/cmd/basic.html";
|
||||
break;
|
||||
case "2":
|
||||
location.href = "{{ site.baseurl }}/pages/topic/cmd/intermediate.html";
|
||||
break;
|
||||
case "3":
|
||||
location.href = "{{ site.baseurl }}/pages/topic/cmd/advanced.html";
|
||||
break;
|
||||
case "4":
|
||||
location.href = "{{ site.baseurl }}/pages/topic/fs.html";
|
||||
break;
|
||||
case "5":
|
||||
location.href = "{{ site.baseurl }}/pages/topic/scripting.html";
|
||||
break;
|
||||
case "6":
|
||||
location.href = "{{ site.baseurl }}/pages/topic/about.html";
|
||||
break;
|
||||
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
89
site/pages/info/navigation.html
Normal file
89
site/pages/info/navigation.html
Normal file
|
@ -0,0 +1,89 @@
|
|||
---
|
||||
layout: page
|
||||
category-page: about
|
||||
category-title: About
|
||||
tags: website move next back
|
||||
author: Joey Bevilacqua
|
||||
title: Navigation
|
||||
---
|
||||
|
||||
You can navigate in our website with your keyboard using some tricks:
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Key</th>
|
||||
<th>Function</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>~</td>
|
||||
<td>In a shell, the "~" character represents home. So it does on TheShell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>w</td>
|
||||
<td>Brings you back to the top of the page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>a</td>
|
||||
<td>Brings you to the previous page (if any)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>d</td>
|
||||
<td>Brings you to the next page (if any)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>s</td>
|
||||
<td>Brings you to the topic page of the page you're currently reading</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>k</td>
|
||||
<td>Brings you back to the top of the page. This is the same as
|
||||
<code>vi</code> up key command
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>h</td>
|
||||
<td>Brings you to the previous page (if any). This is the same as
|
||||
<code>vi</code> left key command
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>l</td>
|
||||
<td>Brings you to the next page (if any). This is the same as
|
||||
<code>vi</code> right key command.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>s</td>
|
||||
<td>Brings you to the topic page of the page you're currently reading. This is
|
||||
the same as <code>vi</code> down command.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>0</td>
|
||||
<td>Brings you to the home page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>Brings you to the basic commands topic page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>Brings you to the intermediate commands topic page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td>
|
||||
<td>Brings you to the advanced commands topic page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>4</td>
|
||||
<td>Brings you to the file system topic page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>5</td>
|
||||
<td>Brings you to the scripting topic page</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>6</td>
|
||||
<td>Brings you to the about topic page</td>
|
||||
</tr>
|
||||
</table>
|
Loading…
Reference in a new issue