B
Bruno
Hi there,
I have some code (it will be a chat later) which uses the meta tag
<meta http-equiv="refresh" content="135; URL=/mydomaine/index-neu.php">
Yes, after 135 seconds, I see a refresh on the IE. However, if I work in GMX
or something else, the refreshed page will bring up the window in front of
everything, that ist enoying!
here is the code (which is generated by a php Script)
can anyone help me on this $%& strange effect?
regards Bruno
x----------------
<head>
<style type="text/css">
<!--
body { font-family: Arial; font-size: 8pt; background-color:
#CCFFFF; color: #000000}
..top_td { border-top-style: solid }
..bottom_td { border-bottom-style: solid ; border-width:1px;}
input { font-size: 8pt }
..chat { font-size: 14pt; font-weight: bold }
td { font-size: 8pt }
..von_an_td { font-size: 7pt; border-right-style: solid ; border-width:1px;
border-color:#000000; }
..datum_td { font-size: 7pt; border-right-style: solid ; border-width:1px;
border-color:#000000;}
..chat_td { font-size: 9pt; font-weight: bold; }
..filter { font-size: 8pt; font-weight: bold; border-bottom-width: 1px;
border-bottom-style: solid; border-color:#000000;}
select { font-size: 8pt }
-->
</style>
<script type="text/javascript">
function chkFormular()
{
if(document.form.von.value == "--") {
alert("Bitte Ihren Namen eingeben!");
document.form.von.focus();
return false;
}
}
document.form.mit_absicht_falsch.focus();
</script>
<meta http-equiv="refresh" content="35; URL=/myhost/index-neu.php">
<title>another test</title>
</head>
<body topmargin="1" leftmargin="1" onLoad="document.forms[0].reset();">
<p>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<form method="get" action="" name="form" onSubmit="return
chkFormular()">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<input type="text" name="chat_input" size="170" tabindex="1">
</td>
<td>
<input type="submit" value="Abschicken" name="send"
tabindex="2">
</td>
</tr>
<tr>
<td class="bottom_td">
Von:
<select size="1" name="von" tabindex="3">
<option value="--">--</option>
<option selected >b_s</option>
<option>c_g</option>
<option>f_n</option>
</option>
</select>
an:
<select size="1" name="an" tabindex="4">
<option value="--">alle</option>
<option>b_s</option>
<option>c_g</option>
<option>f_n</option>
</select>
Filter
<select size="1" name="filter" tabindex="5">
<option value="--">kein</option>
<option>b_s</option>
<option>c_g</option>
<option>f_n</option>
</select>
Verzögerung: <input type="text" name="delay" size="3"
value="35" tabindex="6">
</td>
<td class="bottom_td">
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td class="filter">
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" ><tr>
<tr bgcolor='#ffffff'>
<td valign='top' width='10' class='von_an_td'></td>
<td valign='top' width='10' class='von_an_td'>--</td>
<td valign='top' width='10' class='datum_td'>06_11:42:39</td>
<td valign='top' width='1200' class='chat_td'> test</td>
</tr>
</table><table border="0" cellspacing="0" cellpadding="0" ><tr>
<tr bgcolor='#ffddee'>
<td valign='top' width='10' class='von_an_td'>b_s</td>
<td valign='top' width='10' class='von_an_td'>--</td>
<td valign='top' width='10' class='datum_td'>06_11:43:00</td>
<td valign='top' width='1200' class='chat_td'> another test</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="text/javascript">
document.form.chat_input.focus();
</script>
<p>
</body></html>
I have some code (it will be a chat later) which uses the meta tag
<meta http-equiv="refresh" content="135; URL=/mydomaine/index-neu.php">
Yes, after 135 seconds, I see a refresh on the IE. However, if I work in GMX
or something else, the refreshed page will bring up the window in front of
everything, that ist enoying!
here is the code (which is generated by a php Script)
can anyone help me on this $%& strange effect?
regards Bruno
x----------------
<head>
<style type="text/css">
<!--
body { font-family: Arial; font-size: 8pt; background-color:
#CCFFFF; color: #000000}
..top_td { border-top-style: solid }
..bottom_td { border-bottom-style: solid ; border-width:1px;}
input { font-size: 8pt }
..chat { font-size: 14pt; font-weight: bold }
td { font-size: 8pt }
..von_an_td { font-size: 7pt; border-right-style: solid ; border-width:1px;
border-color:#000000; }
..datum_td { font-size: 7pt; border-right-style: solid ; border-width:1px;
border-color:#000000;}
..chat_td { font-size: 9pt; font-weight: bold; }
..filter { font-size: 8pt; font-weight: bold; border-bottom-width: 1px;
border-bottom-style: solid; border-color:#000000;}
select { font-size: 8pt }
-->
</style>
<script type="text/javascript">
function chkFormular()
{
if(document.form.von.value == "--") {
alert("Bitte Ihren Namen eingeben!");
document.form.von.focus();
return false;
}
}
document.form.mit_absicht_falsch.focus();
</script>
<meta http-equiv="refresh" content="35; URL=/myhost/index-neu.php">
<title>another test</title>
</head>
<body topmargin="1" leftmargin="1" onLoad="document.forms[0].reset();">
<p>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<form method="get" action="" name="form" onSubmit="return
chkFormular()">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<input type="text" name="chat_input" size="170" tabindex="1">
</td>
<td>
<input type="submit" value="Abschicken" name="send"
tabindex="2">
</td>
</tr>
<tr>
<td class="bottom_td">
Von:
<select size="1" name="von" tabindex="3">
<option value="--">--</option>
<option selected >b_s</option>
<option>c_g</option>
<option>f_n</option>
</option>
</select>
an:
<select size="1" name="an" tabindex="4">
<option value="--">alle</option>
<option>b_s</option>
<option>c_g</option>
<option>f_n</option>
</select>
Filter
<select size="1" name="filter" tabindex="5">
<option value="--">kein</option>
<option>b_s</option>
<option>c_g</option>
<option>f_n</option>
</select>
Verzögerung: <input type="text" name="delay" size="3"
value="35" tabindex="6">
</td>
<td class="bottom_td">
</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td class="filter">
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" ><tr>
<tr bgcolor='#ffffff'>
<td valign='top' width='10' class='von_an_td'></td>
<td valign='top' width='10' class='von_an_td'>--</td>
<td valign='top' width='10' class='datum_td'>06_11:42:39</td>
<td valign='top' width='1200' class='chat_td'> test</td>
</tr>
</table><table border="0" cellspacing="0" cellpadding="0" ><tr>
<tr bgcolor='#ffddee'>
<td valign='top' width='10' class='von_an_td'>b_s</td>
<td valign='top' width='10' class='von_an_td'>--</td>
<td valign='top' width='10' class='datum_td'>06_11:43:00</td>
<td valign='top' width='1200' class='chat_td'> another test</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="text/javascript">
document.form.chat_input.focus();
</script>
<p>
</body></html>