Bluetrait

Loading
search


Posts:
Comments:

Popular posts

Click here if you are looking for Bluetrait, the weblog software.

Login:

Username:

Password:

Quick Comment

Posted by Michael Dale on Fri, 04 Nov 2005 11:15 PM

There were some plans to completely redo this site using AJAX over the holidays, and I may still get to it, but I'm currently really busy so that isn't happening at the moment.

Anywho I thought I'd try my hand at some javascript. I've put in a "Quick Comment" option for each post. Click it and you should be able to reply to the post from the front page. I quickly did it then. It maybe a bad idea etc, but I thought I'd give it a try.

On Fri, 04 Nov 2005 at 11:20 PM, Josh wrote:

Oooh nifty. Maybe absolutely position it so it floats above, and make it clearer that clicking "Quick Comment" again closes the box? (Or just add a close widget)

Potential caveat: people mightn't respond to each other's comments as much. Only maybe, depends on usage patterns. Only time will tell! :P

Any chance of autocomplete for name on this form too?


On Fri, 04 Nov 2005 at 11:23 PM, Michael Dale wrote:

Yep I agree with everything you've said.

We talked about responding to other comments here

I shall look into it tomorrow.


On Sat, 05 Nov 2005 at 3:01 AM, Matthom wrote:

Sweet, that "quick comment" rules. You're, of course, going to help me with AJAX, right? I may need to quickly implement some, next month - for a new job I'm starting. I been briefed on AJAX, but there's some small details that are hanging me up.


On Sat, 05 Nov 2005 at 10:58 AM, Michael Dale wrote:

Yes I am pretty interested in getting into AJAX. Although I haven't really had time to look into it.

I know that you use javascript to tell XMLHttpRequest to get more data from the web server.

For example if I were to make the quick comment thing with XMLHttpRequest it would only load the quick comment section (off the web server) when you click the quick comment link.

Where as now it is just a hidden div.

Although I'm not too sure of the semantic value of AJAX, I reckon it would reduce it.


On Sat, 05 Nov 2005 at 5:46 PM, Josh Street wrote:

Although I'm not too sure of the semantic value of AJAX, I reckon it would reduce it.

Nah it doesn't need to. Best policy is to make it work without AJAX then use things like "appendChild" and other node methods to add the stuff you need for Javascript. So, for your quick comment thing you wouldn't have any HTML code for it... I'm not quite sure how it works though :(


On Sat, 05 Nov 2005 at 8:21 PM, Maximilian Blue wrote:

This is so cool


On Sun, 06 Nov 2005 at 10:51 AM, Stuart wrote:

I still prefer normal comment over quick comment but yeah I like the concept.

Maybe you should work up something that remembers your details if you've posted regularly. Sorta like what matthom has.