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

This commit is contained in:
zero 2007-04-09 06:41:19 +00:00
parent 3d20f0d4d1
commit e8ea971041
14 changed files with 25 additions and 32 deletions

View file

@ -141,33 +141,17 @@ h6 {
}
#membermenuarea .item {
color:#000000;
padding:2px;
margin-bottom:3px;
color:#353249;
cursor:pointer;
border:1px solid #FFFFFF;
padding:2px;
height:17px;
}
#membermenuarea .item_on {
padding:2px;
margin-bottom:3px;
color:#FFFFFF;
background-color:#3916EC;
color:#2911B8;
font-weight:bold;
letter-spacing:-1px;
cursor:pointer;
border:1px solid #000000;
}
#membermenuarea .last_item {
color:#000000;
padding:2px;
cursor:pointer;
border:1px solid #FFFFFF;
}
#membermenuarea .last_item_on {
padding:2px;
color:#FFFFFF;
background-color:#3916EC;
cursor:pointer;
border:1px solid #000000;
height:17px;
}

View file

@ -457,16 +457,19 @@ 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 icon = info_str.substr(0,pos).trim();
info_str = info_str.substr(pos+1, info_str.length).trim();
var pos = info_str.indexOf(",");
var str = info_str.substr(0,pos).trim();
var func = info_str.substr(pos+1, info_str.length).trim();
var className = "item";
if(i==infos.length-1) className = "last_item";
//if(i==infos.length-1) className = "item";
if(!str || !func) continue;
html += "<div class=\""+className+"\" onmouseover=\"this.className='"+className+"_on'\" onmouseout=\"this.className='"+className+"'\" onclick=\""+func+"\">"+str+"</div>";
html += "<div class=\""+className+"\" onmouseover=\"this.className='"+className+"_on'\" onmouseout=\"this.className='"+className+"'\"><span style=\"background:url("+icon+") no-repeat left;padding-left:18px;\" onclick=\""+func+"\">"+str+"</div>";
}
}
loaded_member_menu_list[member_srl] = html;