I have the following DIV that is inside another div that need to be refreshed every 60 seconds.
This is the code:
<div style='padding-left:10px;'>
{* SHOW RECENT ACTIVITY LIST *}
{* DISPLAY ACTIONS *}
{section name=actions_loop loop=$actions}
<table cellpadding='0' cellspacing='0'>
<tr>
<td valign='top' style='width:55px; height:100%;' rowspan='2'><a href='{$url->url_create("profile", $actions[actions_loop].action_author->user_info.user_username)}'> <img style='margin-right:5px; padding-right:6px;' width='50' src='{$actions[actions_loop].action_author->user_photo('./images/nophoto.gif', FALSE)}' border='0' /> </a></td>
<td valign='top' width='100%'> {assign var='action_date' value=$datetime->time_since($actions[actions_loop].action_date)}
{assign var='action_media' value=''}
{if $actions[actions_loop].action_media !== FALSE}{capture assign='action_media'}{section name=action_media_loop loop=$actions[actions_loop].action_media}<a href='{$actions[actions_loop].action_media[action_media_loop].actionmedia_link}'><img src='{$actions[actions_loop].action_media[action_media_loop].actionmedia_path}' border='0' width='{$actions[actions_loop].action_media[action_media_loop].actionmedia_width}' class='recentaction_media'></a>{/section}{/capture}{/if}
{lang_sprintf assign='action_text' id=$actions[actions_loop].action_text args=$actions[actions_loop].action_vars}
{$action_text|replace:"[media]":$action_media|choptext:50:"<br>
"}
</td>
</tr>
<tr>
<td><img align='left' src='./images/icons/{$actions[actions_loop].action_icon}' border='0' class='icon' /> {lang_sprintf id=$action_date[0] 1=$action_date[1]} </td>
</tr>
</table>
<br />
{sectionelse}
{lang_print id=738}
{/section}
</div>
This is inside a smarty template so their is smarty tags within it.