Benutzer:Bernardissimo/Multi: Unterschied zwischen den Versionen

Aus Stupidedia, der sinnfreien Enzyklopädie!
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
<table width="100%" align="center" cellpadding="0" cellspacing="0" style="cursor:pointer" id="banner_mit_kacheln">
+
<table width="100%" align="center" cellpadding="0" cellspacing="0" id="verlinkter_banner">
 
<tr>
 
<tr>
 
<td width="auto" height="auto" align="right" id="kachel_l">
 
<td width="auto" height="auto" align="right" id="kachel_l">
Zeile 9: Zeile 9:
 
</tr>
 
</tr>
 
</table>
 
</table>
<div class="parseJS"><nowiki>
 
    function addEvent(obj,type,fn) {
 
   
 
    if (obj.addEventListener) {
 
    obj.addEventListener(type,fn,false);
 
    return true;
 
    } else if (obj.attachEvent) {
 
    obj['e'+type+fn] = fn;
 
    obj[type+fn] = function() { obj['e'+type+fn]( window.event );}
 
    var r = obj.attachEvent('on'+type, obj[type+fn]);
 
    return r;
 
    } else {
 
    obj['on'+type] = fn;
 
    return true;
 
    }
 
   
 
    }
 
addEvent(document.getElementById('banner_mit_kacheln'), "click", function(){location.href = wgServer+'/stupi/A';});
 
</nowiki></div>
 

Version vom 15. Juni 2011, 00:41 Uhr


Linktipps: Faditiva und 3DPresso