Jump to content

reload div? maybe


zac_exuro

Recommended Posts

hey, so i have a table that contains mesages and a clock.. i need 2 of the 4 the message types to check for new messages every x seconds and the clock to reload every 1sec.. i was going to try a reload div but i was thinking that might be a little bit of overkill.. even though it might be the easiest for me since i am a complete noob and trying to learn all this stuff with no outside help.. any help or point in the right direction is appreciated

 

sorry if there is alot of mess to sort out, like i said im the new guy

 




<table id="center" width="393" height="104" align="center" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td colspan="5">
		<img src="images/center_01.gif" width="393" height="13" alt=""></td>
</tr>
<tr>
	<td rowspan="6">
		<img src="images/center_02.gif" width="10" height="91" alt=""></td>
	<td width="372" height="28" colspan="3" align="center" bgcolor="#000000" alt="round time">round ends in: <? echo $dleft?> days, <? echo $hleft?> hours, <? echo $mleft?> minutes, <? echo $sleft?> seconds</td>
	<td rowspan="6">
		<img src="images/center_04.gif" width="11" height="91" alt=""></td>
</tr>
<tr>
	<td colspan="3">
		<img src="images/center_05.gif" width="372" height="8" alt=""></td>
</tr>
<tr>
	<td width="152" height="23" align="center" bgcolor="#000000" alt="messages"><a href="messages.php?uid=<? echo $uid ?>&secid=<? echo $secid ?>&type=1">messages</a> (<? echo  $mmyrow[0] ; ?>)</td>
	<td rowspan="3">
		<img src="images/center_07.gif" width="68" height="49" alt=""></td>
	<td width="152" height="23" align="center" bgcolor="#000000" alt="cartel messages"><a href="view.cartel.messages.php?uid=<? echo $uid ?>&secid=<? echo $secid ?>&type=1">cartel messages</a></td>
</tr>
<tr>
	<td>
		<img src="images/center_09.gif" width="152" height="4" alt=""></td>
	<td>
		<img src="images/center_10.gif" width="152" height="4" alt=""></td>
</tr>
<tr>
	<td width="152" height="22" align="center" bgcolor="#000000" alt="message board"><a href="cafe.messages.php?uid=<? echo $uid ?>&secid=<? echo $secid ?>&type=1">message board</a></td>
	<td width="152" height="22" align="center" bgcolor="#000000" alt="attacks"><a href="messages.php?uid=<? echo $uid ?>&secid=<? echo $secid ?>&type=2">attacks</a> (<? echo  $mmyrow1[0] ; ?>)</td>
</tr>
<tr>
	<td colspan="3">
		<img src="images/center_13.gif" width="372" height="6" alt=""></td>
</tr>
</table>

Link to comment
https://forums.phpfreaks.com/topic/231754-reload-div-maybe/
Share on other sites

Wrap everything in your lone div tag.. like I assume your talking about, then either put seperate divs floating in that master div to keep them lined up but seperate and give them all unique id's then have each one reloading the data over and over individually as needed rather than reloading everything within one div..

Link to comment
https://forums.phpfreaks.com/topic/231754-reload-div-maybe/#findComment-1192675
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.