• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Seite mit mehreren iframes zeigt iframes mit falschem content und richtiger url

testifix

Neues Mitglied
Hallo zusammen,


ich bin ziemlicher Anfänger was HTML programmierung anbelangt und bitte um nachsicht :)

Hintergrund: ich möchte eine Startseite aufsetzen für meinen internet browser (Chrome), wo ich die für mcih wichtigsten Finanzzahlen auf einen Blick sehe. Es geht hier wirklich nur um mich, ich möchte damit keine Öffentliche Webseite erstellen. Daher sind mir Copyrights usw auch ziemlich egal (falls das jemand erwähnen sollte).

Worum gehts: Ich möchte von einer Webseite die Informationen zu Wirtschaft zur verfügung stellt, die wichtistens Daten komprimiert darstellen. Das habe ich durch den Gebrauch von Iframes auch weitgehend geschaft.

Nun, wo liegt das problem? Ich benutze den untenstehenden Code, der dazu führt, das oben an meiner SEite drei Wechselkurse angezeigt werden. Dazu braucht es einerseits ein Iframe für die Anzeige des momentanen Kurses, zum andern ein Iframe für den dazugehörigen Graphen. Obschon die Pfade absolut korrekt sind, stellen aber diese iframes manchmal die Daten dar, welche zu einem der anderen beiden wechselkurse gehören. also steht dann bei USD/CHF beispielsweise der Kurs für EUR/CHF. Und das total zufällig. Auch wenn ich die Webseite mit F5 aktualisiere, ist es totally random.Nur wenn ich jedes Iframe einzel mit rechtsklick anwähle, und dann sage "Neu Laden", dann wird der korrekte inhalt angezeigt.

Ich bin komplett ratlos, ich vermute es geht in die richtung Cache oder so ähnlich. Ich fühle mich als würde ihc mit einem Geist kämpfen.

Ich würde jede Rückmeldung schätzen.

Viele Grüsse,
Testifix

HTML:
<html>
<head>
<title>Wirtschaftsdaten</title>
<meta http-Equiv="Cache-Control" Content="no-cache">
<meta http-Equiv="Pragma" Content="no-cache">
<meta http-Equiv="Expires" Content="0">
</head>

<style>body,td,a,p,.h{font-family:arial,sans-serif}body{color:#333;margin:3px 8px 2em;background:#fff url(/images/firefox/gradsprite.png) 0 -95px repeat-x}img,table{border:0}#sf{width:100%}#frame{width:564px;margin:auto 12px}#gbar{float:left;height:22px;padding-left:2px}.gbh,.gb2 div{border-top:1px solid #c9d7f1;font-size:0;height:0}.gbh{position:absolute;top:24px;width:100%}.gb2 div{margin:5px}#gbi{background:#fff;border:1px solid;border-color:#c9d7f1 #36c #36c #a2bae7;top:24px;z-index:1000}#guser{padding-bottom:7px !important}#gbar,#guser{font-size:13px;padding-top:1px !important}@media all{.gb1,.gb3{height:22px;margin-right:.73em;vertical-align:top}.gb2 a,.gb2 b{display:block;padding:.2em .5em}}#gbi,.gb2{left:0;position:absolute;visibility:hidden}.gb2{z-index:1001}#gbar a{color:#00c}.gb2 a,.gb3 a{text-decoration:none}#gbar .gb2 a:hover{background:#36c;color:#fff;display:block} a:visited{background:#FFFFFF;color:#000000}</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
#container{
    width:800px;
    height:280px;
    overflow:hidden;
    
}
#container iframe {
    width:840px;
    height:475px;
    margin-left:-160px;
    margin-top:-190px;   
    border:0;
}
#containerwatchlist{
    width:800px;
    height:120px;
    overflow:hidden;
    
}
#containerwatchlist iframe {
    width:960px;
    height:400px;
    margin-left:-160px;
    margin-top:-290px;   
    border:0;
}
#containercashexchangerategraph{
    width:320px;
    height:152px;
    overflow:hidden;
    
}
#containercashexchangerategraph iframe {
    width:840px;
    height:600px;
    margin-left:-510px;
    margin-top:-300px;  
    border:0;
}


#containercashexchangerate{
    width:275px;
    height:20px;
    overflow:hidden;
    
}
#containercashexchangerate iframe {
    width:840px;
    height:279px;
    margin-left:-450px;
    margin-top:-190px;  
    border:0;
}


#containercashfullquote{
    width:800px;
    height:900px;
    overflow:hidden;
    
}
#containercashfullquote iframe {
    width:840px;
    height:900px;
    margin-left:-165px;
    margin-top:-180px;  
    border:0;
}
#containercashnews{
    width:800px;
    height:900px;
    overflow:hidden;
    
}
#containercashnews iframe {
    width:840px;
    height:900px;
    margin-left:-10px;
    margin-top:-170px;   
    border:0;
 }
 
 
 
-->
</style>


<table width="100%" height="20%" border="0""><tr><td> <!-- die ganze oberste zeile - die drei wechselkurse -->
	
<td width="300">	
<table width="300" height="100%" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
<table width="300" height="100%" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
<table width="100%" height="20%">
	<tr>
	 <td width="20" height="100%" valign="top"><font color="black"><h4>USD/CHF</h4></font></td>
		 <td width="280" height="100%" valign="top"><div id="containercashexchangerate"><iframe id="USDCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/275000/148/1" scrolling="no" width="600" height="20"></iframe></div></td>
 </tr>
</table>
</td></tr><tr><td>
<table>
 	<tr>
		 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraph"><iframe id="USDCHFgraph"  src="http://www.cash.ch/boerse/kursinfo/fullquote/275000/148/1" scrolling="no" width="600" height="200"></iframe></div></td>
 </tr>
</table>
</td></tr></table>
</td></tr></table>
</td>


<td width="300">	
<table width="300" height="100%" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
<table width="300" height="100%" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
<table width="100%" height="20%">
	<tr>
	 <td width="20" height="100%" valign="top"><font color="black"><h4>EUR/CHF</h4></font></td>
		 <td width="280" height="100%" valign="top"><div id="containercashexchangerate"><iframe id="EURCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/897789/148/1" scrolling="no" width="600" height="20"></iframe></div></td>
 </tr>
</table>
</td></tr><tr><td>
<table>
 	<tr>
		 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraph"><iframe id="EURCHFgraph" src="http://www.cash.ch/boerse/kursinfo/fullquote/897789/148/1" scrolling="no" width="600" height="200"></iframe></div></td>
 </tr>
</table>
</td></tr></table>
</td></tr></table>
</td>

<td width="300">	
<table width="300" height="100%" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
<table width="300" height="100%" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
<table width="100%" height="20%">
	<tr>
	 <td width="20" height="100%" valign="top"><font color="black"><h4>BRL/CHF</h4></font></td>
		 <td width="280" height="100%" valign="top"><div id="containercashexchangerate"><iframe id="BRLCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/992459/149/1" scrolling="no" width="600" height="20"></iframe></div></td>
 </tr>
</table>
</td></tr><tr><td>
<table>
 	<tr>
		 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraph"><iframe id="BRLCHFgraph" src="http://www.cash.ch/boerse/kursinfo/fullquote/992459/149/1" scrolling="no" width="600" height="200"></iframe></div></td>
 </tr>
</table>
</td></tr></table>
</td></tr></table>
</td>

<td width="100%">
	<a href=http://www.gocurrency.com/ id=gocurrency>Currency Converter</a> <script src= http://www.gocurrency.com/v2/gocurrcalc_t.php?id=53> </script>	
</td>


</tr></table>


<table width="100%" border="1"  >
<tr>
 <td width="50%" height="100%">
 	<div id="containercashnews" align=top><iframe src="http://www.cash.ch" scrolling="yes" width="600" height="200"></iframe></div>
 </td>

 <td width="50%" height="100%">
 	<div id="containercashfullquote"><iframe src="http://www.cash.ch/boerse/kursinfo/fullquote/UBS/2489948/380/1" scrolling="no" width="600" height="200"></iframe></div>
 </td>
</tr>
</table>  
</html>
 
Der HTML-Code ist schon in den ersten Zeilen fehlerhaft. Weiter unten öffnest Du mehr Zellen als Du schließt. Die Summe dieser HTML-Fehler kann zu den Darstellungsproblemen führen die Du siehst. Bereinige die Fehler, dann sollte es auch klappen.
 
Hallo.

Ich verstehe den ganzen Aufwand nicht.

Für Wechselkurse gibt es unzählige kostenlose Widgets die einwandfrei funktionieren.
So ein Widget einzufügen ist eine Sache von nicht einmal einer Minute.

Gruss
Elroy
 
Hallo,

danke für Eure Rückmeldungen. Ich habe korrigiert, dass ich nicht die richtige anzahl zellen geöffnet habe wie ich geschlossen habe. das problem ist aber noch nicht gelöst. threadi, du meintest, schon in den ersten zeilen sei ein fehler drin - ich habe nicht herausfinden können, was du meinst - any hints?

@ elroy - ich möchte gerne das teil selber schreiben, aber gerne würde ich auch mal soclhe widgets anschauen - wo gibts die denn?

hier ist mein aktueller code:

Danke für Eure Rückmeldungen!
HTML:
<html>
<head>
<title>Wirtschaftsdaten</title>
<meta http-Equiv="Cache-Control" Content="no-cache">
<meta http-Equiv="Pragma" Content="no-cache">
<meta http-Equiv="Expires" Content="0">
</head>

<style>body,td,a,p,.h{font-family:arial,sans-serif}body{color:#333;margin:3px 8px 2em;background:#fff url(/images/firefox/gradsprite.png) 0 -95px repeat-x}img,table{border:0}#sf{width:100%}#frame{width:564px;margin:auto 12px}#gbar{float:left;height:22px;padding-left:2px}.gbh,.gb2 div{border-top:1px solid #c9d7f1;font-size:0;height:0}.gbh{position:absolute;top:24px;width:100%}.gb2 div{margin:5px}#gbi{background:#fff;border:1px solid;border-color:#c9d7f1 #36c #36c #a2bae7;top:24px;z-index:1000}#guser{padding-bottom:7px !important}#gbar,#guser{font-size:13px;padding-top:1px !important}@media all{.gb1,.gb3{height:22px;margin-right:.73em;vertical-align:top}.gb2 a,.gb2 b{display:block;padding:.2em .5em}}#gbi,.gb2{left:0;position:absolute;visibility:hidden}.gb2{z-index:1001}#gbar a{color:#00c}.gb2 a,.gb3 a{text-decoration:none}#gbar .gb2 a:hover{background:#36c;color:#fff;display:block} a:visited{background:#FFFFFF;color:#000000}</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
#container{
    width:800px;
    height:280px;
    overflow:hidden;
    
}
#container iframe {
    width:840px;
    height:475px;
    margin-left:-160px;
    margin-top:-190px;   
    border:0;
}
#containerwatchlist{
    width:800px;
    height:120px;
    overflow:hidden;
    
}
#containerwatchlist iframe {
    width:960px;
    height:400px;
    margin-left:-160px;
    margin-top:-290px;   
    border:0;
}
#containercashexchangerategraph{
    width:320px;
    height:152px;
    overflow:hidden;
    
}
#containercashexchangerategraph iframe {
    width:840px;
    height:600px;
    margin-left:-510px;
    margin-top:-300px;  
    border:0;
}


#containercashexchangerate{
    width:275px;
    height:20px;
    overflow:hidden;
    
}
#containercashexchangerate iframe {
    width:840px;
    height:279px;
    margin-left:-450px;
    margin-top:-190px;  
    border:0;
}


#containercashfullquote{
    width:800px;
    height:1800px;
    overflow:hidden;
    
}
#containercashfullquote iframe {
    width:840px;
    height:2000px;
    margin-left:-165px;
    margin-top:-180px;  
    border:0;
}
#containercashnews{
    width:800px;
    height:1800px;
    overflow:hidden;
    
}
#containercashnews iframe {
    width:840px;
    height:2000px;
    margin-left:-10px;
    margin-top:-170px;   
    border:0;
 }
-->
</style>


<table width="100%" height="20%" border="0""><tr> <!-- die ganze oberste zeile - die drei wechselkurse und Währungsumrechner -->
	
<td>
<table width="300" height="100%" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
 <table width="300" height="100%" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
  <table width="100%" height="20%"><tr>
    <td width="20" height="100%" valign="top"><font color="black"><h4>USD/CHF</h4></font></td>
	  <td width="280" height="100%" valign="top"><div id="containercashexchangerate"><iframe id="USDCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/275000/148/1" scrolling="no" width="600" height="20"></iframe></div></td>
   </tr>
  </table>
  </td></tr><tr><td>
  <table><tr>
	 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraph"><iframe id="USDCHFgraph"  src="http://www.cash.ch/boerse/kursinfo/fullquote/275000/148/1" scrolling="no" width="600" height="200"></iframe></div></td>
  </tr></table>
 </td></tr></table>
</td></tr></table>
</td>

<td>
<table width="300" height="100%" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
 <table width="300" height="100%" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
  <table width="100%" height="20%">
   <tr>
    <td width="20" height="100%" valign="top"><font color="black"><h4>EUR/CHF</h4></font></td>
	  <td width="280" height="100%" valign="top"><div id="containercashexchangerate"><iframe id="EURCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/897789/148/1" scrolling="no" width="600" height="20"></iframe></div></td>
   </tr>
  </table>
  </td></tr><tr><td>
  <table><tr>
	 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraph"><iframe id="EURCHFgraph"  src="http://www.cash.ch/boerse/kursinfo/fullquote/897789/148/1" scrolling="no" width="600" height="200"></iframe></div></td>
  </tr></table>
 </td></tr></table>
</td></tr></table>
</td>

<td>
<table width="300" height="100%" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
 <table width="300" height="100%" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
  <table width="100%" height="20%">
   <tr>
    <td width="20" height="100%" valign="top"><font color="black"><h4>BRL/CHF</h4></font></td>
	  <td width="280" height="100%" valign="top"><div id="containercashexchangerate"><iframe id="BRLCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/992459/149/1" scrolling="no" width="600" height="20"></iframe></div></td>
   </tr>
  </table>
  </td></tr><tr><td>
  <table><tr>
	 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraph"><iframe id="BRLCHFgraph"  src="http://www.cash.ch/boerse/kursinfo/fullquote/992459/149/1" scrolling="no" width="600" height="200"></iframe></div></td>
  </tr></table>
 </td></tr></table>
</td></tr></table>
</td>


<td width="100%">
	<a href=http://www.gocurrency.com/ id=gocurrency>Currency Converter</a> <script src= http://www.gocurrency.com/v2/gocurrcalc_t.php?id=53> </script>	
</td>


</tr></table>


<table width="100%" border="1" height="80%" > <!-- Unterer Teil der Seite - Wirtschaftsnews + Aktienkurs -->
<tr>
 <td width="50%" height="100%">
 	<div id="containercashnews" align=top><iframe src="http://www.cash.ch" scrolling="no" width="600" height="200"></iframe></div>
 </td>

 <td width="50%" height="100%">
 	<div id="containercashfullquote"><iframe src="http://www.cash.ch/boerse/kursinfo/fullquote/UBS/2489948/380/1" scrolling="no" width="600" height="200"></iframe></div>
 </td>
</tr>
</table>  
</html>
 
Stichworte: Doctype fehlt, <style> ist falsch, ebenso eine Zeile danach. Ein HTML-Validator wird dir mehr verraten können.
 
Danke für Eure Inputs!

@ threadi: Ich bin deinem Tipp gefolgt und habe den Sourcecode so angepasst, dass er nun von zwei HTML Validators als fehlerfrei eingestuft wurde.

Leider habe ich das Problem immer noch - Die Iframes der oberen tabelle (die wechselkurse) zeigen manchmal einfach den kurs von einer anderen Währung an... Um weitere Tipps wäre ich dir deshalb sehr dankbar!

Untenstehend mein aktueller Code.

@ Elroy - werde mir die Widgets auch noch anschauen! Vielen dank für den Input!

Best,
testifix

HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Wirtschaftsdaten</title>

 <STYLE type="text/css">body,td,a,p,.h{
  text-align: left;
  font-family:arial,sans-serif;
  border:0px;
  margin:3px;
  }
 </STYLE>
 
<style type="text/css">
<!--
#containerwatchlist{
    width:800px;
    height:120px;
    overflow:hidden;
    
}
#containerwatchlist iframe {
    width:960px;
    height:400px;
    margin-left:-160px;
    margin-top:-290px;   
    border:0;
}
#containercashexchangerategraphA{
    width:320px;
    height:152px;
    overflow:hidden;
    
}
#containercashexchangerategraphA iframe {
    width:840px;
    height:600px;
    margin-left:-510px;
    margin-top:-300px;  
    border:0;
}

#containercashexchangerateA{
    width:275px;
    height:20px;
    overflow:hidden;
    
}
#containercashexchangerateA iframe {
    width:840px;
    height:279px;
    margin-left:-450px;
    margin-top:-190px;  
    border:0;
}

#containercashexchangerategraphB{
    width:320px;
    height:152px;
    overflow:hidden;
    
}
#containercashexchangerategraphB iframe {
    width:840px;
    height:600px;
    margin-left:-510px;
    margin-top:-300px;  
    border:0;
}

#containercashexchangerateB{
    width:275px;
    height:20px;
    overflow:hidden;
    
}
#containercashexchangerateB iframe {
    width:840px;
    height:279px;
    margin-left:-450px;
    margin-top:-190px;  
    border:0;
}
#containercashexchangerategraphC{
    width:320px;
    height:152px;
    overflow:hidden;
    
}
#containercashexchangerategraphC iframe {
    width:840px;
    height:600px;
    margin-left:-510px;
    margin-top:-300px;  
    border:0;
}

#containercashexchangerateC{
    width:275px;
    height:20px;
    overflow:hidden;
    
}
#containercashexchangerateC iframe {
    width:840px;
    height:279px;
    margin-left:-450px;
    margin-top:-190px;  
    border:0;
}
#containercashfullquote{
    width:800px;
    height:1800px;
    overflow:hidden;
    
}
#containercashfullquote iframe {
    width:840px;
    height:2000px;
    margin-left:-165px;
    margin-top:-180px;  
    border:0;
}
#containercashnews{
    width:800px;
    height:1800px;
    overflow:hidden;
    
}
#containercashnews iframe {
    width:840px;
    height:2000px;
    margin-left:-10px;
    margin-top:-170px;   
    border:0;
 }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-Equiv="Cache-Control" Content="no-cache">
<meta http-Equiv="Pragma" Content="no-cache">
<meta http-Equiv="Expires" Content="0">
</head>

<body>
<table width="100%" border="0"><tr> <!-- die ganze oberste zeile - die drei wechselkurse und Währungsumrechner -->
	
<td >
<table width="300" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
 <table width="300" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
  <table width="100%"><tr>
    <td width="20" height="100%" valign="top"><h4><font color="black">USD/CHF</font></h4></td>
	  <td width="280" height="100%" valign="top"><div id="containercashexchangerateA"><iframe id="USDCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/275000/148/1" scrolling="no" width="600" height="20"></iframe></div></td>
   </tr>
  </table>
  </td></tr><tr><td>
  <table><tr>
	 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraphA"><iframe id="USDCHFgraph"  src="http://www.cash.ch/boerse/kursinfo/fullquote/275000/148/1" scrolling="no" width="600" height="200"></iframe></div></td>
  </tr></table>
 </td></tr></table>
</td></tr></table>
</td>

<td>
<table width="300" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
 <table width="300" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
  <table width="100%">
   <tr>
    <td width="20" height="100%" valign="top"><h4><font color="black">EUR/CHF</font></h4></td>
	  <td width="280" height="100%" valign="top"><div id="containercashexchangerateB"><iframe id="EURCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/897789/148/1" scrolling="no" width="600" height="20"></iframe></div></td>
   </tr>
  </table>
  </td></tr><tr><td>
  <table><tr>
	 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraphB"><iframe id="EURCHFgraph"  src="http://www.cash.ch/boerse/kursinfo/fullquote/897789/148/1" scrolling="no" width="600" height="200"></iframe></div></td>
  </tr></table>
 </td></tr></table>
</td></tr></table>
</td>

<td>
<table width="300" border="1"><tr><td> <!-- der rahmen um jedes einzelne element -->
 <table width="300" border="0"><tr><td> <!-- tabelle, welche zwei tabellen beinhaltet: tabelle oben, die wechselkursnamen + kurs enthält, und tabelle unten, welche den graph enthält -->	
  <table width="100%">
   <tr>
    <td width="20" height="100%" valign="top"><h4><font color="black">BRL/CHF</font></h4></td>
	  <td width="280" height="100%" valign="top"><div id="containercashexchangerateC"><iframe id="BRLCHFrate" src="http://www.cash.ch/boerse/kursinfo/fullquote/992459/149/1" scrolling="no" width="600" height="20"></iframe></div></td>
   </tr>
  </table>
  </td></tr><tr><td>
  <table><tr>
	 <td width="300" height="100%" valign="top"><div id="containercashexchangerategraphC"><iframe id="BRLCHFgraph"  src="http://www.cash.ch/boerse/kursinfo/fullquote/992459/149/1" scrolling="no" width="600" height="200"></iframe></div></td>
  </tr></table>
 </td></tr></table>
</td></tr></table>
</td>


<td width="100%">
	<a href="http://www.gocurrency.com/" id=gocurrency>Currency Converter</a> <script type="text/javascript" src="http://www.gocurrency.com/v2/gocurrcalc_t.php?id=53"> </script>	
</td>


</tr></table>


<table width="100%" border="1"> <!-- Unterer Teil der Seite - Wirtschaftsnews + Aktienkurs -->
<tr>
 <td width="50%" height="100%" valign=top>
 	<div id="containercashnews"><iframe src="http://www.cash.ch" scrolling="no" width="600" height="200"></iframe></div>
 </td>

 <td width="50%" height="100%" valign=top>
 	<div id="containercashfullquote"><iframe src="http://www.cash.ch/boerse/kursinfo/fullquote/UBS/2489948/380/1" scrolling="no" width="600" height="200"></iframe></div>
 </td>
</tr>
</table>  
</body>
</html>
 
Die erste URL die Du in ein iframe einbindest ist diese: 0.8431 | cash | Detailansicht | USD/CHF - wenn ich die direkt Aufrufe sehe ich eine andere Seite als bei deiner iframe-Ansicht. Daher meine Vermutung, dass diese Seite selbstständig erkennt, ob sie in einem iframe aufgerufen wird oder nicht. Evtl. liegt das Problem daher nicht bei dir sondern bei diesem Anbieter bzw. dessen Art der Einbindung. Daher kann ich mich auch nur dem Tipp anschließen dir mal Widgets zu dem Thema anzuschauen.
 
letzer versuch - gibts eine möglichkeit, beim laden meiner seite ein iframe nach dem anderen zu laden? sagen wir mit 0.5 sekunden differenz?

ODER

gibts eine möglichkeit gleich nach dem laden diese frames eins nach dem anderen mit einem delay von ca. 0.5 sekunden zu aktualisieren (einmalig)?
 
Du könntest die iframes mittels JavaScript aufbauen und in den DOM einbinden. Über JavaScript hättest Du auch die Möglichkeit die gewünschten zeitlichen Abstände zu realisieren.
 
Zurück
Oben