<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>
<?php
################################################################
# _gProlog logputs config parameters
################################################################
# $_gProlog['logputs'] = YourLoggingFunction ['_gProlog_log_std']
# $_gProlog['level'] = IgnoreStdLogputsLowerThanThis [_GPROLOG_ERROR]
# $_gProlog['level'] = _GPROLOG_INSECURE; ## only insecure
# $_gProlog['level'] = _GPROLOG_ERROR; ## insecure+error
# $_gProlog['level'] = _GPROLOG_WARNING; ## insecure+error+warning
# $_gProlog['level'] = _GPROLOG_VERBOSE; ## debug
# $_gProlog['level'] = _GPROLOG_VERY_VERBOSE; ## more info
# $_gProlog['to-std'] = RecipientOfStdLogputs [webmaster]
# $_gProlog['Yes_I_am_authorized_sending_webmaster'] = 1; # [undef]
# $_gProlog['subject-std'] = AnyStringForSubject
# $_gProlog['mb_send_mail'] = TRUE; ## use mb_send_mail() instead mail()
################################################################
# _wn config parameters
################################################################
# $_wn['docroot'] should be specified if $_SERVER['DOCUMENT_ROOT']
# is not identical with the actual full path of the server.
| $_wn['docroot'] = '/full/path/doc/root/here';
# #### Never change followings if you do not know what you do
# $_wn['opname'] = 'filemtime';
# $_wn['pathpref'] = 'path';
# $_wn['constructorName'] = 'wnHostMtimes';
# $_wn['operationTimeName'] = 'wnHostNow';
?>
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
| // elementsObject, // elements object
| // 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? のコンポーネントである