<html> <head> : | <script src="_fss.js" type="text/javascript"></script> | <script src="_jlog.js" type="text/javascript"></script> | <script src="_wn.js" type="text/javascript"></script> | <script src="foobar.js" type="text/javascript"></script> : </head> <body> : <div id="foo-elt-id"> : <a href="foo-1.html">foo #1</a> <a href="foo-2.html">foo #2</a> : </div> : <div id="bar-elt-id"> : <a href="bar-a.html">bar A</a> <a href="bar-b.html">bar B</a> : </div> : </body></html>
function foobarInit() {
:
| // _wn() constructor interface: [cf. _wn.js]
| // //_wn.prototype._wnEra = 'date -u style string';
| // //_wn.prototype._wnObsolete = digits in days;
| // //_wn.prototype._wnRefresh = 'date -u style string';
| // _wn(elementIds, // elements array
| // iframeId, // internal iframe id
| // checkNewMarkObject, // method
| // setNewMarkObject, // method
| // modifyNewMarkElement, // method
| // noCookie, // [false]
| // revisitEstimated, // secs no update cookie
| // lastVisitDefault, // secs when noCookie
| // setNewMark, // method
| // setNewMarkElt, // method
| // completion) { // method
| _wnO = new _wn(['foo-elt-id',bar-elt-id, ...]);
:
}
window.onload = function () {
| // _fss.prototype._jlOffStartup = true; // to inactivate
| // _fss.prototype._jlHideJlogButtonOnStartup = true; // to hide
| foobar.prototype._jlogSetUp(foobarInit); // log for only foobar
| // _fss.prototype._jlogSetUp(foobarInit); // log for all
foobarInit();
}
n/a
wn is one of Use? components.
wn は Use? のコンポーネントである