Web Analytics Made Easy -
StatCounter Need help with Iframe refresh! - CodingForum

Announcement

Collapse
No announcement yet.

Need help with Iframe refresh!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need help with Iframe refresh!

    Im trying to refresh the song titles in my internet radio station and i cant find an iframe to do it!

    Here is the code for the song titles etc

    "<center><table border="1" width="250">
    <tr>
    <th><script>document.write(StreamInformation.SERVERTITLE())</script></th>
    </tr>
    <tr>
    <th><script>document.write(StreamInformation.SONGTITLE())</script></th>
    </tr>
    <tr>
    <td align="center">
    <script>document.write(StreamInformation.CURRENTLISTENERS() +"/"+ StreamInformation.MAXLISTENERS() +" Listeners @ "+ StreamInformation.BITRATE() +"Kbps")</script>
    </td>
    </tr>
    </table></center><br>"

    Can anyone help with this refreshing every few seconds?

    thanks!

  • #2
    if this code is shown in an iframe, then you could simply add a meta refresh to the iframe's source page code - http://webdesign.about.com/od/metata.../aa080300a.htm
    - Firebug is a web developers best friend! - Learn it, Love it, use it!
    - Validate your code! - JQ/JS troubleshooting
    - Using jQuery with Other Libraries - Jslint for Jquery/other JS library users

    Comment


    • #3
      I currently have a new iframe set up for it and it loads the playing web page but it does not refresh :/

      <center><iframe src="http://orange.citrus3.com:8338/played.html" width=800 height=400 frameborder=0 scrolling=no>
      </iframe></center><br>

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎