这些代码是什么意思的呢
//拖动放生
function drag_to_suvive(eve,obj,type,shoppid,type_num,img_src){
//上次是否有操作
if(Survival.has_op == 1){
alert('你的上次的操作还没有完成,请先完成上次操作。');
return false;
}
Survival.op_type = 'd';
Survival.type_num = (type_num || 0);
Survival.op_obj = obj; //记录图片对象
Survival.surv_type = type;
Survival.surv_id = shoppid;
Survival.op_img_src = img_src; //得到图片路径,拖动的是很用
//对象为图片或swf,则选择父节点的父节点,如果num属性未设置,则初始化
if(typeof obj.parentNode.num == 'undefined'){
obj.parentNode.num = type_num ;
} //alert(typeof obj.num + ','+obj.outerHTML);
var temp_obj = $eggDom('div');
temp_obj.id = 'temp_drag_div'; //alert(obj);
//temp_obj.innerHTML = obj.firstChild.firstChild.outerHTML;
temp_obj.innerHTML = obj.firstChild.outerHTML;
temp_obj.$css('position','absolute').$css('top',event.clientY - obj.offsetHeight/2).$css('left',event.clientX - obj.offsetWidth/2).$css('width',obj.offsetWidth+'px').$css('height',obj.offsetHeight+'px');
document.body.appendChild(temp_obj) ;
confirm_obj(temp_obj);
temp_obj.onmousedown();
temp_obj.onmouseup = drag_stop ;
//temp_obj = null;
//如果到达区域
}
sblist.Append("<li title='点击文字或拖拽图片到放生池即可放生'><span title='拖拽图片到放生池即可放生' onmousedown=\"drag_to_suvive(event,this,'" + strs[0] + "'," + id + "," + typeAndId[t, 0] + ",'" + stationConfg.WebSite + typeAndId[t, 1] + "')\">" + Strings.FormatImage(strs[1], 88, 67, "../images/gw/qifu/nlo.gif") + "</span><a title='点击文字即可放生1' href=\"javascript:kill_a_href();\" onclick=\"click_to_surv(this,'" + strs[0] + "','" + id + "','" + typeAndId[t, 0] + "','" + stationConfg.WebSite + typeAndId[t, 1] + "')\" style=\"color:#000;\">" + keys[i] + "(<label style='font-weight:bolder'>" + typeAndId[t, 0] + "</label>)</a></li>\n\r");
看不懂什么意思的呢?