Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-22-2012, 05:20 PM   PM User | #1
Vernk
Regular Coder

 
Join Date: Oct 2011
Posts: 113
Thanks: 9
Thanked 1 Time in 1 Post
Vernk is an unknown quantity at this point
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?
Vernk is offline   Reply With Quote
Old 08-23-2012, 12:10 AM   PM User | #2
Vernk
Regular Coder

 
Join Date: Oct 2011
Posts: 113
Thanks: 9
Thanked 1 Time in 1 Post
Vernk is an unknown quantity at this point
bump :*
Vernk is offline   Reply With Quote
Old 08-23-2012, 12:12 AM   PM User | #3
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Quote:
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
AndrewGSW is offline   Reply With Quote
Old 08-23-2012, 03:41 AM   PM User | #4
Vernk
Regular Coder

 
Join Date: Oct 2011
Posts: 113
Thanks: 9
Thanked 1 Time in 1 Post
Vernk is an unknown quantity at this point
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
Vernk is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:23 AM.


Advertisement
Log in to turn off these ads.