WordPress.org

Support

Support » Themes and Templates » Refresh div ajax widget

Refresh div ajax widget

  • I’m trying to refresh the countdown hangout widget in the sidebar-right.
    When it next refreshes after the countdown timer reaching ‘0’ I would like that the ON AIR button appear. This works when its hard refreshed though not at the moment with current code.

    <script src="http://ajax.googleapis.com/ajax/
    libs/jquery/1.3.0/jquery.min.js"></script>
    <script>
    var auto_refresh = setInterval(
    function()
    {
    $('#sidebar-right').fadeOut('slow').load('sidebar-right.php').fadeIn("slow");
    }, 20000);
    $(document).ready(function(){
    $('#loaddiv').load('sidebar-right.php')
    })
    </script>

    here is the link

    Any help here would be greatly appreciated!

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Refresh div ajax widget’ is closed to new replies.