Bug #16277 ยป 0003729.patch
typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie) | ||
---|---|---|
' // JS function for mouse-over
|
||
function over(name,imgObj) { //
|
||
if (version == "n3" && document[name]) {document[name].src = eval(name+"_h.src");}
|
||
else if (typeof(document.getElementById)=="function" && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_h.src");}
|
||
else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_h.src");}
|
||
else if (imgObj) {imgObj.src = eval(name+"_h.src");}
|
||
}
|
||
// JS function for mouse-out
|
||
function out(name,imgObj) { //
|
||
if (version == "n3" && document[name]) {document[name].src = eval(name+"_n.src");}
|
||
else if (typeof(document.getElementById)=="function" && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");}
|
||
else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");}
|
||
else if (imgObj) {imgObj.src = eval(name+"_n.src");}
|
||
}';
|
||
break;
|