>>811 JSプラグインにして使えばいいよ。とりあえずもう少し作った奴が下の。トグルで元に戻る。
function taget_init(_frame) {
var i;
for (i=0; i<_frame.document.links.length; ++i){
_frame.document.links[i].target = _frame.document.links[i].getAttribute(TAGET_ATTR);
_frame.document.links[i].removeAttribute(TAGET_ATTR);
}
}
function taget_blank(_frame) {
var i;
for (i=0; i<_frame.document.links.length; ++i){
_frame.document.links[i].setAttribute(TAGET_ATTR, _frame.document.links[i].target);
_frame.document.links[i].target = tagetVal;
}
if (_top.document.title.substr(1,2) == "> ") {
_top.document.title = " " + _top.document.title;
}
}
function frameSet(bframe){
//alert(bframe.name);
if (bframe.document.links.length == 0) return;
(bframe.document.links[0].getAttribute(TAGET_ATTR) == null) ? taget_blank(bframe):taget_init(bframe);
}
function titleSet() {
if (_top.document.title.substr(1,2) == "> ") {
_top.document.title = _top.document.title.substr(3,window.top.document.title.length-3);
}else{
_top.document.title = tittleChar + _top.document.title;
}
}