var $name :
Code:
/**
* search the forum
*/
Forum.prototype.search = function (text, type, forum, u, disp)
{
this.loading ('SEARCHING');
var m = document.getElementById('main');
if (!m)
{
new BxError("main div is not defined", "please name main content container");
}
var $this = this;
var h = function (r)
{
var m = document.getElementById('main');
m.innerHTML = r;
$this.runScripts ('main');
$this.setWindowTitle(null);
$this.stopLoading ();
$this.checkHeight ();
}
new BxXslTransform(this._base + "?action=search&text=" + text + "&type=" + type + "&forum=" + forum + "&u=" + u + "&disp=" + disp, urlXsl + "search.xsl", h);
document.h.makeHist('action=goto&search_result=1&' + text + '&' + type + '&' + forum + '&' + u + '&' + disp);
return false;
}
huh, i forget about the sample code of
&$name
parent :: parse($name)
$$this
i'm still confusing so i can not think . he he
Bookmarks