$overlay{_template.html#body} $begin{content} ${% dhi.add_js_codes(""" function set_countdown() { var cd = document.getElementById('countdown'); cd.innerHTML = (60-kount); window.setTimeout('set_countdown();', 1000); }""") %} ${dhi.add_onload_actions( "set_countdown();" )}

[ Note that this page will redirect to one level up, in... seconds ]

This Dhi object demo page shows:

The Dhi, in the state that it is in at this stage of page processing, is displayed here. Notice that as the Collapsable Gizmo that the page template renders later does not yet show up -- but this is OK as the Dhi, and the HEAD element, are always rendered last, meaning that the Dhi for a page may be added to until the very end of content rendering.

${html.format_p_obj(vars(dhi))}
$end{content}