Please note!

This is an archived, inactive copy of
"Comment Preview Javascript"

Please do not link to this page.


October 07, 2004

Comment Preview Javascript

Posted by bopuc at October 7, 2004 06:31 PM


Aim Steve Jsrift

To see what we're talking about, try typing a comment on this entry...

[Merci Karl!]

Comments

Cautious comment... :\

Oh wikkid...

Just noticed what it does...

ABOUT FRIKKIN' TIME, PREVIEW-SHUNNER!!!

Ummm... btw, can I have this script? ;)

Posted by: Steve at October 7, 2004 06:45 PM

You guys. Gawd. Shouldn't you be working? *rolls eyes*.....omg.....what's happening....woah, this is weirdly seductive.

Wheeee! Look at me!!!!

Posted by: Oblivia at October 7, 2004 07:07 PM

so what are you talking about.. oh I see, very nice gentlemen.

Posted by: phil at October 7, 2004 10:28 PM

Hmm oh neat.

foo.com

this is a blockquote
italics. ooh! Here it is in a span.

This is truly cool.

Please forgive me for trying your doohickey.

Posted by: pat at October 8, 2004 04:06 AM

let's see ... what ... arf OK

Dam

Posted by: Dam at October 8, 2004 08:48 AM

ooh ... aah ... sweet !

Posted by: anders at October 8, 2004 10:01 AM

aw man it stripped out the font tags ... that would have been fun ...

Posted by: anders at October 8, 2004 10:02 AM

hmmm. nice. Although if I try to tab between the URL field and the text entry field it takes me to the top of the page. (Safari 1.2).

Posted by: aj at October 8, 2004 02:36 PM

It was working fine until I spilled pure ammonia all over my workstation.

Posted by: Steve at October 8, 2004 03:17 PM

AJ.. it's because Apple did a very bad marketing studies. The tab doesn't fully work.

Posted by: Karl at October 8, 2004 07:20 PM

Test, this is a test and it is pretty nice "hello". I would even say that this is wicked... in more than one way.

Posted by: Oliver at October 8, 2004 11:12 PM

Testing, because I'm curious. Pretty neat! :-)

Posted by: Steph at October 9, 2004 02:41 AM

Hrmmm... my most popular post in weeks! hah!

Now I need to go turn off HTML in comments... ;)

Posted by: Boris Anthony at October 9, 2004 02:51 AM

AJ! Karl!

The tabbing issue was my fault! The textarea was marked as "tabindex=1", and name, email, URL as 2, 3,4 respectively which means web browsers (not just Safari), after URL (#4) would head back to the ?şber input, the location bar (because there's no inputs after 4 on these pages).

View sources and check the "tabindex" attributes on the comment form.

They are fixed now. Yay.

Thanks AJ!

Posted by: Boris Anthony at October 9, 2004 03:01 AM

Boris: good little padawan ;)

Posted by: Karl at October 9, 2004 08:20 AM

lovely. Now, I have no idea how you did it, but I'm going to have to steal this code... :)

Posted by: aj at October 9, 2004 08:56 AM

Do you think its wise to allow all tags?

for example or how about a div with its own position set?

I havent tried a [script] tag, but if thats enabled, you could leave your site wide open to other more hamful attacks :-(

(of course, I havent submitted the comment yet, so all these things *might* be sorted ;-)

Posted by: Richard@Home at October 11, 2004 09:14 AM

hehe, good work :-)

(check out this screenshot of the live preview though: http://richardathome.no-ip.com/img/bopuc_preview.jpg )

Posted by: Richard@Home at October 11, 2004 09:18 AM