WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
Refresh div ajax widget (2 posts)

  1. Angus Todman
    Member
    Posted 1 year ago #

    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!

  2. Angus Todman
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.