Hallo leute,
ich weiss nicht ob ich hier richtig bin,
habe folgendes problem, da ich überhaupt keinen plan oder nur wenig von html und co habe.
Habe mir mit hilfe der soft "viennasoft" ne shtm seite für einen web server meiner steuerung erstellt.
So weit so gut, die werte werden mir ja auch alle angezeigt, aber nun habe ich folgendes problem.
Wie ich die ganze seite aktualisieren kann habe ich schon gefunden, aber will nicht immer die ganze seite aktualisieren sondern immer nur einzelne variablen.
Geht das überhaupt oder!?!?!?
Habe mal meinen code reingestellt:
----------------------------------------
<html><head>
<title>Test Mike</title>
<meta name="robots" content="index">
<meta name="robots" content="follow">
<meta http-equiv="cache-control" content="no-cache">
<link rel="stylesheet" type="text/css" href="arial.css">
<style type="text/css"><!--
body {color:#000067; margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; background-color:#FFFFFF; scrollbar-base-color:#FFFFFF;}
a:link {color:#000080;}
a:visited {color:#000080;}
a:active {color:#000080;}
a:hover {color:#000080;}
a:focus {color:#000080;}
--></style>
<script src="vs_javascript.js" type="text/javascript">
</script>
</head>
<body >
<!--EBENE-->
<!--EBENE-->
<div id="vs_ebene26" style="position:absolute; left:310px; top:100px; width:320px; height:76px; background-color:#E6E6E6; z-index:1; overflow:visible;">
<!--TABELLE--><table border="1" bordercolor="#000000" bordercolorlight="#000000" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=152 height=25>Strom L-1</td>
<td align=left valign=top width=166 height=25><%#TagSSI,Strom_L1%> A</td></tr>
<tr>
<td align=left valign=top width=152 height=27>Leistung</td>
<td align=left valign=top width=166 height=27><%#TagSSI,Liefer_KW%></td></tr>
<tr>
<td align=left valign=top width=152 height=23>Differenz Wasserstand</td>
<td align=left valign=top width=166 height=23><%#TagSSI,Wasserstand_Differenz%> mm</td></tr></table></div>
<!--EBENE--><div id="vs_ebene33" style="position:absolute; left:671px; top:444px; width:67px; height:19px; background-color:#E6E6E6; z-index:0; overflow:visible;">
<!--TABELLE--><table border="1" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=166 height=27><%#TagSSI,Wasserstand_V%> mm</td></tr></table></div>
<!--EBENE--><div id="vs_ebene34" style="position:absolute; left:669px; top:383px; width:67px; height:19px; background-color:#E6E6E6; z-index:0; overflow:visible;">
<!--TABELLE--><table border="1" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=166 height=27><%#TagSSI,Wasserstand_N_int%> mm</td></tr></table></div>
<!--EBENE--><div id="vs_ebene35" style="position:absolute; left:756px; top:307px; width:85px; height:19px; background-color:#E6E6E6; z-index:0; overflow:visible;">
<!--TABELLE--><table border="1" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=166 height=27><%#TagSSI,Stellung_Turbine%> %</td></tr></table></div>
<!--EBENE--><div id="vs_ebene52" style="position:absolute; left:274px; top:217px; width:85px; height:19px; background-color:#E6E6E6; z-index:5; overflow:visible;">
<!--TABELLE--><table border="1" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=166 height=27><%#TagSSI,Generator_rpm%> rpm</td></tr></table></div>
<!--EBENE--><div id="ebene54" style="position:absolute; left:310px; top:410px; width:310px; height:50px; background-color:#E6E6E6; z-index:3; overflow:visible;">
<!--TABELLE--><table border="1" bordercolor="#000000" bordercolorlight="#000000" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=154 height=25>Differenz Wasserstand</td>
<td align=left valign=top width=161 height=25><%#TagSSI,Wasserstand_Differenz%> mm</td></tr>
<tr>
<td align=left valign=top width=154 height=25>Differenz Regelung</td>
<td align=left valign=top width=161 height=25><%#TagSSI,Differenz_Regelung_ein/aus%></td></tr></table></div>
<!--EBENE--><div id="vs_ebene56" style="position:absolute; left:310px; top:500px; width:310px; height:50px; background-color:#E6E6E6; z-index:4; overflow:visible;">
<!--TABELLE--><table border="1" bordercolor="#000000" bordercolorlight="#000000" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=154 height=25>Reinigungs Interval</td>
<td align=left valign=top width=161 height=25><%#TagSSI,Reinigungs_Interval%> min.</td></tr>
<tr>
<td align=left valign=top width=154 height=25>Nächste Reinigung</td>
<td align=left valign=top width=161 height=25><%#TagSSI,Zeit_naechste_reinigung%> min.</td></tr></table></div>
</body>
</html>
--------------------------------------------------
hoffe das würde gehen das ich einzelne variablen akt. kann und nicht immer die ganze seite laden muss, es sollte so um 1 sec dauern bis sich ein wert aktualisiert.
Danke im Vorraus
Michael
ich weiss nicht ob ich hier richtig bin,
habe folgendes problem, da ich überhaupt keinen plan oder nur wenig von html und co habe.
Habe mir mit hilfe der soft "viennasoft" ne shtm seite für einen web server meiner steuerung erstellt.
So weit so gut, die werte werden mir ja auch alle angezeigt, aber nun habe ich folgendes problem.
Wie ich die ganze seite aktualisieren kann habe ich schon gefunden, aber will nicht immer die ganze seite aktualisieren sondern immer nur einzelne variablen.
Geht das überhaupt oder!?!?!?
Habe mal meinen code reingestellt:
----------------------------------------
<html><head>
<title>Test Mike</title>
<meta name="robots" content="index">
<meta name="robots" content="follow">
<meta http-equiv="cache-control" content="no-cache">
<link rel="stylesheet" type="text/css" href="arial.css">
<style type="text/css"><!--
body {color:#000067; margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0px; background-color:#FFFFFF; scrollbar-base-color:#FFFFFF;}
a:link {color:#000080;}
a:visited {color:#000080;}
a:active {color:#000080;}
a:hover {color:#000080;}
a:focus {color:#000080;}
--></style>
<script src="vs_javascript.js" type="text/javascript">
</script>
</head>
<body >
<!--EBENE-->
<!--EBENE-->
<div id="vs_ebene26" style="position:absolute; left:310px; top:100px; width:320px; height:76px; background-color:#E6E6E6; z-index:1; overflow:visible;">
<!--TABELLE--><table border="1" bordercolor="#000000" bordercolorlight="#000000" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=152 height=25>Strom L-1</td>
<td align=left valign=top width=166 height=25><%#TagSSI,Strom_L1%> A</td></tr>
<tr>
<td align=left valign=top width=152 height=27>Leistung</td>
<td align=left valign=top width=166 height=27><%#TagSSI,Liefer_KW%></td></tr>
<tr>
<td align=left valign=top width=152 height=23>Differenz Wasserstand</td>
<td align=left valign=top width=166 height=23><%#TagSSI,Wasserstand_Differenz%> mm</td></tr></table></div>
<!--EBENE--><div id="vs_ebene33" style="position:absolute; left:671px; top:444px; width:67px; height:19px; background-color:#E6E6E6; z-index:0; overflow:visible;">
<!--TABELLE--><table border="1" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=166 height=27><%#TagSSI,Wasserstand_V%> mm</td></tr></table></div>
<!--EBENE--><div id="vs_ebene34" style="position:absolute; left:669px; top:383px; width:67px; height:19px; background-color:#E6E6E6; z-index:0; overflow:visible;">
<!--TABELLE--><table border="1" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=166 height=27><%#TagSSI,Wasserstand_N_int%> mm</td></tr></table></div>
<!--EBENE--><div id="vs_ebene35" style="position:absolute; left:756px; top:307px; width:85px; height:19px; background-color:#E6E6E6; z-index:0; overflow:visible;">
<!--TABELLE--><table border="1" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=166 height=27><%#TagSSI,Stellung_Turbine%> %</td></tr></table></div>
<!--EBENE--><div id="vs_ebene52" style="position:absolute; left:274px; top:217px; width:85px; height:19px; background-color:#E6E6E6; z-index:5; overflow:visible;">
<!--TABELLE--><table border="1" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=166 height=27><%#TagSSI,Generator_rpm%> rpm</td></tr></table></div>
<!--EBENE--><div id="ebene54" style="position:absolute; left:310px; top:410px; width:310px; height:50px; background-color:#E6E6E6; z-index:3; overflow:visible;">
<!--TABELLE--><table border="1" bordercolor="#000000" bordercolorlight="#000000" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=154 height=25>Differenz Wasserstand</td>
<td align=left valign=top width=161 height=25><%#TagSSI,Wasserstand_Differenz%> mm</td></tr>
<tr>
<td align=left valign=top width=154 height=25>Differenz Regelung</td>
<td align=left valign=top width=161 height=25><%#TagSSI,Differenz_Regelung_ein/aus%></td></tr></table></div>
<!--EBENE--><div id="vs_ebene56" style="position:absolute; left:310px; top:500px; width:310px; height:50px; background-color:#E6E6E6; z-index:4; overflow:visible;">
<!--TABELLE--><table border="1" bordercolor="#000000" bordercolorlight="#000000" cellspacing="0" cellpadding="0" style=" background-color:#E6E6E6;">
<tr>
<td align=left valign=top width=154 height=25>Reinigungs Interval</td>
<td align=left valign=top width=161 height=25><%#TagSSI,Reinigungs_Interval%> min.</td></tr>
<tr>
<td align=left valign=top width=154 height=25>Nächste Reinigung</td>
<td align=left valign=top width=161 height=25><%#TagSSI,Zeit_naechste_reinigung%> min.</td></tr></table></div>
</body>
</html>
--------------------------------------------------
hoffe das würde gehen das ich einzelne variablen akt. kann und nicht immer die ganze seite laden muss, es sollte so um 1 sec dauern bis sich ein wert aktualisiert.
Danke im Vorraus
Michael
Anhänge
Zuletzt bearbeitet: