git-svn-id: http://xe-core.googlecode.com/svn/trunk@785 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-29 13:19:14 +00:00
parent a05e662355
commit 47045252a2
6 changed files with 48 additions and 28 deletions

View file

@ -412,20 +412,16 @@ function displayMemberMenu(ret_obj, response_tags, params) {
for(var i=0;i<infos.length;i++) {
var info_str = infos[i];
var pos = info_str.indexOf(",");
var str = info_str.substr(0,pos).trim();
var func = info_str.substr(pos+1, info_str.length).trim();
info_str = info_str.substr(pos+1, info_str.length);
pos = info_str.indexOf(",");
var func = info_str.substr(0,pos).trim();
var arg = info_str.substr(pos+1, info_str.length).trim();
var className = "item";
if(i==infos.length-1) className = "last_item";
if(!str || !func || !arg) continue;
html += "<div class=\""+className+"\"><a href=\"#\" onclick=\""+func+"('"+arg+"')\">"+str+"</a></div>";
if(!str || !func) continue;
html += "<div class=\""+className+"\" onmouseover=\"this.className='"+className+"_on'\" onmouseout=\"this.className='"+className+"'\" onclick=\""+func+"\">"+str+"</div>";
}
}
loaded_member_menu_list[member_srl] = html;