我认为本来应该容易做的是,现在我花了很多时间。
我只是试图在文件/插图/advlink/js/advlink.js中编辑一些案文。
考虑这一职能:
function getTargetListHTML(elm_id, target_form_element) {
var targets = tinyMCEPopup.getParam( theme_advanced_link_targets , ).split( ; );
var html = ;
html += <select id=" + elm_id + " name=" + elm_id + " onchange="this.form. + target_form_element + .value= ;
html += this.options[this.selectedIndex].value;"> ;
html += <option value="_self"> + tinyMCEPopup.getLang( advlink_dlg.target_same ) + </option> ;
html += <option value="_blank"> + tinyMCEPopup.getLang( advlink_dlg.target_blank ) + (_blank)</option> ;
html += <option value="_parent"> + tinyMCEPopup.getLang( advlink_dlg.target_parent ) + (_parent)</option> ;
html += <option value="_top"> + tinyMCEPopup.getLang( advlink_dlg.target_top ) + (_top)</option> ;
for (var i=0; i<targets.length; i++) {
var key, value;
if (targets[i] == "")
continue;
key = targets[i].split( = )[0];
value = targets[i].split( = )[1];
html += <option value=" + key + "> + value + ( + key + )</option> ;
}
html += </select> ;
return html;
}
如果我在适当的语文档案中对<代码>advlink_dlg.target_blank作出改动,那么变化似乎显示ok。
But if I try to change the (_blank)
on the same line to whatever, eg. (__blank)
, nothing happens.
Why is that?