Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Oct 2011
    Posts
    113
    Thanks
    9
    Thanked 1 Time in 1 Post

    jQuery - Auto Load new status with effect

    Hi , i'm new to javascript/jQuery.
    I want to know how to refresh a php page to update a status bar on the site on my website:
    http://delnortefun.com
    It is going to query the DB for latest status updates then add it into the list with a jquery effect maybe slide from top or something like facebook's.

    How would I do this?

  • #2
    Regular Coder
    Join Date
    Oct 2011
    Posts
    113
    Thanks
    9
    Thanked 1 Time in 1 Post
    bump :*

  • #3
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    I want to know how to refresh a php page to update a status bar on the site on my website
    This is a confusing statement. PHP will reload a page (from scratch). That is, unless you investigate AJAX to update part of a page (without having to reload).

    Personally I would steer clear of the status-bar:

    Most modern browsers disable scripting of the status-bar by default;
    My browsers don't even show the status-bar;
    Nobody looks at it anyway!

    You could just update (via AJAX) an area within your page.

    Adding jQuery effects is a different question. Well, it's not really a question at all - you'll need to do some studying/ research
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS

  • #4
    Regular Coder
    Join Date
    Oct 2011
    Posts
    113
    Thanks
    9
    Thanked 1 Time in 1 Post
    Just to clear up the status bar on my site is on the right side and it shows all the users updates, kind of like Facebook I think you got confused


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •