I do not possess coding knowledge, but I have a code with a div containing some content along with a flash file. I am looking to refresh the contents every 30 seconds.
Please help add auto-refresh functionality to the content code.
<!-- BEGIN:PAGE -->
<div id="page">
<div id="pictureAndLinks">
<a href="$song.buycd$" target="_blank"><img class="picture" id="picture" onload="showPicture(this, true)" src="$song.picture$" alt="Buy CD!" border=0 /></a>
</div>
<h1>Track Information</h1>
<dl>
<dt>Title</dt>
<dd>$song.title$</dd>
<dt>Artist</dt>
<dd>$song.artist$</a></dd>
<dt>Album</dt>
<dd>$song.album$</a></dd>
<dt>Duration</dt>
<dd>$song.mmss$</dd>
<dt>Year</dt>
<dd>$song.albumyear$</dd>
<dt>Genre</dt>
<dd>$song.genre$</dd>
<dt>Lyrics</dt>
<dd class="broad"><pre>$song.lyrics$</pre></dd>
<dt>Information</dt>
<dd class="broad">$song.info$</dd>
</dl>
<div class="spacer"></div>
Please avoid adding PHP files because this file should work in the same location and with the same filename. I attempted using load.php files, but it did not work.
I believe using an iframe could solve this issue. If anyone can convert it to an iframe with automatic refresh every 30 seconds, that would be greatly appreciated.
Thank you