Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
//<pre>
var shortcutsVersion = "0.0.
var shortcutsReleaseDate = "2006-09-01
/***********************************************************
Line 21:
function shortcutsAddLink (name, article)
{
var links = shortcutsLinks[shortcutsLinks.length - 1]['links'];
links[links.length] = { 'name': name, 'article': article };
Line 66:
nul.setAttribute ('id', 'p-'+name);
for (var i
{
document.write (':' + links[i]['name'] + ' - ' + links[i]['article'] + '<br>');
nul.appendChild (
shortcutsMakeLink (links[i]['name'], links[i]['article'])
);
}
nh5.appendChild (ntit);
Line 87 ⟶ 91:
var sidecol = document.getElementById ('column-one');
for (var i
{
if (i.length > 0)▼
document.write (shortcutsLinks[i]['name'] + ' (' + shortcutsLinks[i]['links'].length + '):<br>');
▲ if (shortcutsLinks[i]['links'].length > 0)
sidecol.appendChild (
makePortlet (shortcutsLinks[i]['name'], shortcutsLinks[i]['links'])
);
}
}▼
/**
* Initializes the onload events.
*/
function shortcutsInitialize ()
{▼
var oldload = window.onload;
window.onload = function ( e )
{
if (oldload)
oldload ( e );
shortcutsInit ();
shortcutsMain ();
};
}
Line 101 ⟶ 126:
shortcutsStartSection ('shortcuts');
shortcutsInitialize ();
▲ {
▲ }
//</pre>
|