Ich wollte für eine Bildershow eine <noscript> Lösung in ältere WEB-Seiten einbauen. Dachte, die einfachste Form ist die Auslagerung in einen iFrame. Geht so. Leider bekommt der iFrame bei den Browsern der Mozilla-Gruppe nicht die vorgesehene html-Seite, wenn JS nachträglich aktiviert und die Seite manuel aktualisiert wird. IE, Opera und Safari machen es.
Kennt einer eine elegantere Lösung oder erkennt den Fehler?
Gruß Thomas [HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="Scribe! 2 [http://scribe.de]" />
<title>Irland 2003</title>
<meta name="description" content="Sportangler Verein Pliete Lübeck">
<meta name="keywords" content=
"Sportangler Verein Pliete Lübeck, SAV Pliete Lübeck, Sportangeln, Angeln , Stocksee, Hemmelsdorfer See in Ostholstein">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="robots" content="index">
<meta name="robots" content="follow">
<meta name="language" content="de">
<meta name="author" content="Freier">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
td {font-family:Verdana;font-size:12px;font-weight:normal;COLOR:black;padding:0px 0px 0px 0px;}
div {font-family:Verdana;font-size:12px;font-weight:normal;color:#0080C0;padding:0px 0px 0px 0px;}
.zeile2 {vertical-align:middle; margin-right:0px;
padding:1px 1px 1px 1px;
border-style:solid;
border-color:#6f95c7;
border-width:1px 1px 1px 1px;}
a.menu2 {font-family:Verdana;
font-weight:normal;
font-size:12px;
color: Black;
text-align:center;
margin-top: 1px;
border-style:none;
}
a.menu2:link {color:Black;text-decoration: none;}
a.menu2:visited {color:Black;text-decoration: none;}
a.menu2:hover {color:red;}
a.menu2:active {color:Black;}
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
<hr width="40%" />
<div align="center" style="font-family:Conga, Verdana;font-size:14px;color:#0080C0;margin-left:20px; margin-right:30px;">
Impressionen in 18 Bildern</div>
<iframe src="iFrameIrland.html" name="Fenster" width="670px" height="540px"
frameborder="0">
</iframe>
<noscript>
<div align="center" >Sie haben JavaScript deaktiviert. Bitte wählen sie die Bilder manuel.</div>
<table align="center">
<tr>
<td align="center" cellspacing="2" cellpadding="2" class="zeile2"><a class="menu2" href="Irland-2003-01.jpg" target="Fenster">01</a></td>
<td align="center" cellspacing="2" cellpadding="2" class="zeile2"><a class="menu2" href="Irland-2003-02.jpg" target="Fenster">02</a></td>
<td align="center" cellspacing="2" cellpadding="2" class="zeile2"><a class="menu2" href="Irland-2003-03.jpg" target="Fenster">03</a></td>
<td align="center" cellspacing="2" cellpadding="2" class="zeile2"><a class="menu2" href="Irland-2003-04.jpg" target="Fenster">04</a></td>
</tr>
</table>
</noscript>
</center>
</body>
</html>
[/HTML]Für den iFrame:
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="Scribe! 2 [http://scribe.de]" />
<title>Reiseberichte von Mitgliedern im SAV Pliete e.V.
Lübeck</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
td {font-family:Verdana;font-size:12px;font-weight:normal;COLOR:black;padding:0px 0px 0px 0px;}
.zeile2 {padding:1px 1px 1px 1px;
border-style:solid;
border-color:#6f95c7;
border-width:1px 1px 1px 1px;
text-align:center;
}
a.menu2 {font-family:Verdana;
font-weight:normal;
font-size:12px;
color: Black;
text-align:center;
margin-top: 1px;
border-style:none;
border-width:0px;
padding: 1px;}
a.menu2:link {color:Black;text-decoration: none;}
a.menu2:visited {color:Black;text-decoration: none;}
a.menu2:hover {color:red;}
a.menu2:active {color:Black;}
</style>
<script src="fkds.js" type="text/javascript"></script>
</head>
<body>
<center>
<img src="Irland-2003-01.jpg" align="center" alt="große Bilder" id="fkdsImg3">
<script type="text/javascript">var diashow3 = new fkds('diashow3', 'fkdsImg3', 4);</script>
<table width="640" align="center">
<tr>
<td width="25%" align="center" cellspacing="2" cellpadding="2" class="zeile2">
<a class="menu2" href="javascript:diashow3.start(3000)">Show start</a></td>
<td width="25%" align="center" cellspacing="2" cellpadding="2" class="zeile2">
<a class="menu2" href="javascript:diashow3.stop()">Show stop</a></td>
<td width="25%" align="center" cellspacing="2" cellpadding="2" class="zeile2">
<a class="menu2" href="javascript:diashow3.next()">Bild vor</a></td>
<td width="25%" align="center" cellspacing="2" cellpadding="2" class="zeile2">
<a class="menu2" href="javascript:diashow3.prev()">Bild zurück</a></td>
</tr>
</table>
<script type="text/javascript">var diashow3 = new fkds('diashow3', 'fkdsImg3', 4);</script>
</center>
</body>
</html>
[/HTML]