Seite 1 von 1

Internet Explorer Problem

Verfasst: 18.10.2006 22:04
von Anton222
hallo,

ich habe ein problem!
ich habe rechts ein banner in mein forum eingefügt.
das problem ist das es im firefox funktioniert, aber nicht im ie.
wenn ich die datei in die ich es eingebunden habe jedoch außerhalb es forums , allein auf einem webspace aufrufe, ist das banner da!?
wäre wirklich schön wenn mir das jemand erklären könnte, oder vielleicht sogar sagt wie ich es löse!

http://jawl.de//index_body.tpl

das wurde geändert

Code: Alles auswählen

index_body.tpl

suche:
Code:
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">


davor einfügen:

Code:
<table width="100%">
<tr>
<td>


suche:
Code:
  <!-- END catrow -->
</table>


danach einfügen:
Code:
</td>
<td valign="top">

<script type="text/javascript">
/* <![CDATA[ */
function randomcontent()
{
content = new Array;



content[0] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1308&bordercolor=056A9E&bgcolor=ECECEC&CategoryID=83733&query=(Filme|%25220%2520DVD%2527s%2522|sammlung||)&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';

content[1] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1723&CategoryID=9800&query=(luxus|traumwagen|||)&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';

content[2] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1723&CategoryID=9800&query=(luxus|traumwagen|||)&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';


content[3] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1723&CategoryID=9800&query=(luxus|traumwagen|||)&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';


content[4] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1308&CategoryID=60089&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';



content[5] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1308&CategoryID=267&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';



content[6] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1308&CategoryID=7803&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';



content[7] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1308&CategoryID=28837&query=(%2520||||)&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';


content[8] = '<iframe src="http://banners.webmasterplan.com/view.asp?site=1382&ref=276013&type=text&tnb=32&showjs=0&template=1308&CategoryID=39826&query=(plasma||||)&refurl='+escape(document.location.href)+'" width="160" height="600" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>';





random = Math.random();
random = 9 * random;
random = Math.floor(random);
document.getElementById('random-content').innerHTML = content[random];
}
/* ]]> */
</script>

<div id="random-content">
<script type="text/javascript">
/* <![CDATA[ */
randomcontent();
/* ]]> */
</script>


</td>
</tr></table>

danke

Verfasst: 18.10.2006 22:40
von Martin Truckenbrodt
Hallo,
http://jawl.de//index_body.tpl
zeigt bie mir im FF was an.

JavaScript (oder iframes) im Browser aktiviert?

Gruß Martin

Verfasst: 18.10.2006 22:45
von Anton222
sagte ich doch!?
im firefox funktioniert es sowieso..im internet explorer nur leider nicht.
und wenn ich es mir nicht im forum anschaue, sondern wie du "alleine" durch diese url geht es sogar im firefox und dem ie.
das ist ja mein problem und das versteh ich nicht

Verfasst: 18.10.2006 23:02
von Martin Truckenbrodt
Hallo,
sorry, der direkte Aufruf funzt also immer?
URL des Forums?

Hast Du CSS aktiviert?

Gruß Martin

Verfasst: 19.10.2006 02:01
von easygo
Hi! In Javascript würd ich schon mal andere Kommentarzeichen verwenden.

Beispiel: Statt der CSS-Form

Code: Alles auswählen

<script type="text/javascript"> 
/* <![CDATA[ */
die üblichen -->

Code: Alles auswählen

<script type="text/javascript"> 
// <![CDATA[

Verfasst: 19.10.2006 07:32
von Anton222
die adresse vom forum ist
http://www.dsfo.de/fo/

wäre echt nett wenn mir jemand sagt wie ich das ENDLICH zum laufen bekomm:) :lol: :lol:

thx

Verfasst: 19.10.2006 08:24
von Anton222
ich habe grade in meiner verzweiflung ein testforum gestartet.
also ein ganz neues phpbb.
das komisch ist! dort funktioniert es wenn ich diese datei reinkopiere!???????????
kann mir biddö jemand helfen!

Verfasst: 19.10.2006 19:40
von Martin Truckenbrodt
Hallo,
an der Datei scheint es also nicht zu liegen.

Schiebe mal Schritt für Schritt die (modifizeriten) Dateien Deines Produktiv Forums in das Testforum, bis es nicht mehr geht.

Gruß Martin