|
|
|
That works great. Good job ZT.  And hey, my browser's probably just whacked out.
Last Edit: Nov 4, 2005 13:25:35 GMT by Chris
|
|
|
|
|
I know this is a gigantic necrobump, but I think it's cool that you made this before HTML5 did.
|
#intj (Mastermind)^
|
|
|
|
Well the original idea was just to create a cross-browser implementation. I believe most major browsers at the time (short of IE6) supported a getElementsByClassName in their html dom host environment.
|
|
|
|
|
Der's right. It was mostly for CB reasons.... I'm not sure I even knew Fx had an implementation when I wrote this. I should rewrite it sometime though... might be able to make it more effective and efficient.
|
|
|
|
|
Well for starters I'd add a check for a native implementation, since that's bound to be faster. You probably already thought of that though.
|
#intj (Mastermind)^
|
|
|
|
Yep.  That'd be one of the things for sure. There's also probably a bug if you delete an element in the array... it doesn't update. I'm not sure how I'd fix that, but I would need to.
|
|
|
|
|
|
|
|
Well anything supports jQuery, V5 just includes it by default.  (V5 makes use of jQuery UI for many functions) But that said, one thing that annoys me is when people include jQuery for the simple things like element selecting. Or $.each(). If you don't have a reason to use at least 40% of the language, don't use it.
|
I'm gonna start dishing out internet beatings if people keep it up with this 4chan shit, I swear.

|
|
|
|
Hey...yea that's really me right now. I haven't dug into jQueary much so any code that includes it for me will be 50/50 with JS. I am learning though...it's just so much easier to do the element selectors with jQueary. Remember one short line instead of a really long one
|
Building Your Proboard, a Basic Guide to Getting Your Forum Started

Need somewhere to host files?[/url]
|
|
|
|