' +' |
' +'' +'Top: '+index_name+'' +'' + this.LINKS +'toggle view' +' | ||
'; if(i>0) html += 'Previous | '; else html += 'Previous | '; if(i < this.SECS.length - 1) html += 'Next'; else html += 'Next'; html += ' | '; if(i>0 && this.SECS[i].PARENT.PARENT) // != this.ROOT) html += '' +'' +this.SECS[i].PARENT.HEADING.innerHTML+''; else html += ''+this.SECS[i].HEADING.innerHTML+''; // Right: html += ' | '; html += (i + 1) +' |
%s
? / ¿ | show this help screen |
| Moving around |
n / p | goto the next / previous section |
N / P | goto the next / previous sibling |
t / E | goto the first / last section |
g | goto section... |
u | go one level up (parent section) |
i / C | show table of contents / tags index |
b / B | go back to last / forward to next visited section. |
h / H | go to main index in this directory / link HOME page |
| View |
m / x | toggle the view mode between info and plain / slides |
f / F | fold current section / whole document (plain view only) |
| Searching |
s / r | search forward / backward.... |
S / R | search again forward / backward |
o | occur-mode |
c | clear search-highlight |
| Misc |
l / L / U | display HTML link / Org link / Plain-URL |
v / V | scroll down / up |
W |
OrgHtmlManager.HOOKS
variable.
* @param args The arguments to be passed to the hook function.
* E.g. {an: "object"}
or ["array"]
.
* The first argument passed to the hook is the OrgHtmlManager
* itself.
*/
runHooks: function(name, args)
{
if(this.HOOKS.run_hooks && this.HOOKS[name]) {
for(var i=0; ithis.HOOKS
.
* @param func The function object.
*/
addHook: function(name, func)
{
if('run_hooks' != name) {
this.HOOKS[name].push(func);
}
},
/**
* Remove Hooks.
* @param name Name of the hook, i.e. the index in this.HOOKS
.
* @param func The function object to be removed from the hook. JavaScript
* considers two functions written the same way identical.
*/
removeHook: function(name, func)
{
if(this.HOOKS[name]) {
for(var i = this.HOOKS[name].length - 1; i >= 0; --i) {
if(this.HOOKS[name][i] == func) {
this.HOOKS[name].splice(i, 1);
}
}
}
}
};
function OrgHtmlManagerKeyEvent (e)
{
var c;
if (!e) e = window.event;
if (e.which) c = e.which;
else if (e.keyCode) c = e.keyCode;
if(e.ctrlKey) return;
var s = String.fromCharCode(c);
if(e.shiftKey)
org_html_manager.CONSOLE_INPUT.value = org_html_manager.CONSOLE_INPUT.value + s;
else
org_html_manager.CONSOLE_INPUT.value = org_html_manager.CONSOLE_INPUT.value + s.toLowerCase();
org_html_manager.getKey();
}
/**
* Wait for document.body to be loaded and call org_html_manager.init().
* In Opera document.body is true, even if not loaded (try with big big
* file). This case is handled by the OrgHtmlManager class itself.
*/
function OrgHtmlManagerLoadCheck()
{
org_html_manager.init();
}