LGF Comments Ajax Overdrive V1.0

• Views: 823

It’s time to put the pedal to the metal, lizards. Our commenting system will now switch into overdrive.

Reload your LGF page now. You’ll need to refresh in order to get all the Javascript modules correctly loaded.

Then get ready to experience a new type of blog commenting. This has been where all the Ajax changes have been headed, in the past month or more; posting a comment is now completely Ajax-driven.

The old way: when you hit the button that says ‘post this comment,’ it loaded a separate page, did the posting business, and then reloaded the entire page of comments. This resulted in a wait that got increasingly longer as the thread got longer.

The new way: hit ‘post this comment’ and our Ajax code kicks in, sends the information to the server asynchronously where it’s processed and added to our database—then the server sends back your posted comment and any other newly posted comments, which are displayed on the page without ever reloading anything.

I’m not fond of bragging, but this is a pretty revolutionary change in the way blog comments work. Check it out and see what you think.

As always with the first release of a significant piece of code, there may be unforeseen features (some call them ‘bugs’). But it was pretty thoroughly tested on the development server before I kicked it out into the cold cruel world. Have at it.

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2023-04-04 11:11 am PDT
LGF User's Guide RSS Feeds

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Cash.app
Recent PagesClick to refresh
The Pandemic Cost 7 Million Lives, but Talks to Prevent a Repeat Stall In late 2021, as the world reeled from the arrival of the highly contagious omicron variant of the coronavirus, representatives of almost 200 countries met - some online, some in-person in Geneva - hoping to forestall a future worldwide ...
Cheechako
Yesterday
Views: 82 • Comments: 0 • Rating: 1
Texas County at Center of Border Fight Is Overwhelmed by Migrant Deaths EAGLE PASS, Tex. - The undertaker lighted a cigarette and held it between his latex-gloved fingers as he stood over the bloated body bag lying in the bed of his battered pickup truck. The woman had been fished out ...
Cheechako
2 weeks ago
Views: 255 • Comments: 0 • Rating: 1