mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
회원 이름 클릭시 나타나는 메뉴의 아이콘 변경 및 관리 메뉴를 최상단으로 이동
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2311 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
acce559fe4
commit
25970c967c
15 changed files with 16 additions and 13 deletions
|
|
@ -464,6 +464,8 @@ function chkMemberMenu(evt) {
|
|||
}
|
||||
if(!obj || !obj.className || obj.className.search("member_")==-1) return;
|
||||
|
||||
if(obj.className.indexOf('member_-1')>=0) return;
|
||||
|
||||
var member_srl = parseInt(obj.className.replace(/member_([0-9]+)/ig,'$1').replace(/([^0-9]*)/ig,''),10);
|
||||
if(!member_srl) return;
|
||||
|
||||
|
|
@ -517,14 +519,14 @@ function displayMemberMenu(ret_obj, response_tags, params) {
|
|||
|
||||
if(!str || !func) continue;
|
||||
|
||||
html += "<div class=\""+className+"\" onmouseover=\"this.className='"+className+"_on'\" onmouseout=\"this.className='"+className+"'\" style=\"background:url("+icon+") no-repeat left;\" onclick=\""+func+"\">"+str+"</div><br />";
|
||||
html += "<span class=\""+className+"\" onmouseover=\"this.className='"+className+"_on'\" onmouseout=\"this.className='"+className+"'\" style=\"background:url("+icon+") no-repeat left center;\" onclick=\""+func+"\">"+str+"</span><br />";
|
||||
}
|
||||
}
|
||||
loaded_member_menu_list[member_srl] = html;
|
||||
}
|
||||
|
||||
if(html) {
|
||||
xInnerHtml(area, html);
|
||||
xInnerHtml('membermenuarea', "<div class=\"box\">"+html+"</div>");
|
||||
xWidth(area, xWidth(area));
|
||||
xLeft(area, params["page_x"]);
|
||||
xTop(area, params["page_y"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue