mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@769 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8860f8ed91
commit
989a7eda1a
3 changed files with 18 additions and 5 deletions
|
|
@ -385,11 +385,20 @@ 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);
|
||||
var url = info_str.substr(pos+1, info_str.length);
|
||||
var str = info_str.substr(0,pos).trim();
|
||||
|
||||
info_str = info_str.substr(pos+1, info_str.length);
|
||||
pos = info_str.indexOf(",");
|
||||
|
||||
var target = info_str.substr(0,pos).trim();
|
||||
|
||||
var url = info_str.substr(pos+1, info_str.length).trim();
|
||||
var className = "item";
|
||||
|
||||
if(i==infos.length-1) className = "last_item";
|
||||
html += "<div class=\""+className+"\"><a href=\""+url+"\">"+str+"</a></div>";
|
||||
|
||||
if(target=="self") html += "<div class=\""+className+"\"><a href=\""+url+"\">"+str+"</a></div>";
|
||||
else html += "<div class=\""+className+"\"><a href=\""+url+"\" target=\"_blank\">"+str+"</a></div>";
|
||||
}
|
||||
xInnerHtml(area, html);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue