Code: Alles auswählen
<script type="text/javascript">function setzeOl1Bild(){if(!parent.rightFrame.document.getElementById("ol1Bild")){prd=parent.rightFrame.document; ol1BildLink = prd.createElement("a"); ol1BildLink.href='http://click.listinus.de/79591/'; ol1BildLink.target='blank'; ol1Bild = prd.createElement("img"); ol1Bild.id="ol1Bild"; ol1Bild.src = "http://icon.listinus.de/79591/"; ol1BildLink.style.position = "absolute"; ol1BildLink.style.top = "1px"; ol1BildLink.style.left = "15px"; ol1BildLink.appendChild(ol1Bild); prd.getElementsByTagName("body")[0].appendChild(ol1BildLink);}}window.setTimeout("setzeOl1Bild()",2500)</script>
Code: Alles auswählen
<script language="javascript">pi=parent.info; pid=pi.document; pi.cell = pid.createElement("td"); pi.link = pid.createElement("a"); pi.link.setAttribute("target", "_blank"); pi.link.setAttribute("href", "http://click.listinus.de/79591/"); pi.img = pid.createElement("img"); pi.img.setAttribute("src", "http://icon.listinus.de/79591/"); pi.img.style.border=0; pi.link.appendChild(pi.img); pi.cell.appendChild(pi.link); pid.getElementsByTagName("tr")[0].insertBefore(pi.cell,pid.getElementsByTagName("td")[0]);</script>
Die Fragezeichen stehen für die Breite und die Höhe des Bildes. Mußt halt bissel probieren bis es paßt.<script language="javascript">pi=parent.info; pid=pi.document; pi.cell = pid.createElement("td"); pi.link = pid.createElement("a"); pi.link.setAttribute("target", "_blank"); pi.link.setAttribute("href", "http://click.listinus.de/79591/"); pi.img = pid.createElement("img"); pi.img.setAttribute("src", "http://icon.listinus.de/79591/" width="???" height="???"); pi.img.style.border=0; pi.link.appendChild(pi.img); pi.cell.appendChild(pi.link); pid.getElementsByTagName("tr")[0].insertBefore(pi.cell,pid.getElementsByTagName("td")[0]);</script>
Code: Alles auswählen
<script language="javascript">pi=parent.info; pid=pi.document; pi.cell = pid.createElement("td"); pi.link = pid.createElement("a"); pi.link.setAttribute("target", "_blank"); pi.link.setAttribute("href", "http://click.listinus.de/79591/"); pi.img = pid.createElement("img"); pi.img.setAttribute("src", "http://icon.listinus.de/79591/"); with(pi.img.style){width="40px"; height="80px"; border=0;} pi.link.appendChild(pi.img); pi.cell.appendChild(pi.link); pid.getElementsByTagName("tr")[0].insertBefore(pi.cell,pid.getElementsByTagName("td")[0]);</script>
Bei mir nicht - ich kann es auch nicht.Esme hat geschrieben:... kann ich bei euch in die Lehre gehen? Ich möchte auch Scripte schreiben lernen...
Mitglieder in diesem Forum: Ahrefs [Bot] und 1 Gast