Jump to content

Facebook like Older Post Script


never_rain

Recommended Posts

I am working on a website where I have comments posted by users. I want to display 25 comments and if there are more, it will show a linke Older Posts similar to Facebook. Once I click on that, it will list down the next 25 comments and so on. This is something we can see in Facebook. Do you have any idea where I can find this script. I did search on google but couldn't find it. Probably bad keyword selection.

 

any ideas for the resource.

 

Thanks,

 

Faisal

Link to comment
Share on other sites

What you're essentially looking for is to couple thorpe's idea with onlyican. You'll need to run an asynchronous javascript request which would run the query and output the results as either xml or json. Your javascript can then deal with it as you want.

 

I'd advise you to look at a javascript library such as jQuery, Dojo or MooTools. Their implementations of AJAX are cross browser. They also have tutorials on how to use them in their documentation.

Link to comment
Share on other sites

  • 3 months later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.