mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a05e662355
commit
47045252a2
6 changed files with 48 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue