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
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>