jQuery Implementation

With all the Javascript fun going around everywhere, I have decided to join in. I just spent a couple of hours this afternoon converting one my personal projects, the Traffic Checker AJAX Mashup, to take advantage of the jQuery JavaScript library. jQuery is pretty sweet and such a compact library. It allows me to get rid of all of the onClick and onFocus attributes within my XHTML markup and essentially realize the concept of separation of JavaScript for controlling behavior, CSS for formatting structure, and XHTML for marking up content. jQuery XPath allows me to traverse through the DOM beautifully.

On top of that, I also eliminated of a number of XHTML 1.0 Strict Validator’s warnings that were left from last time.

Maybe for my next experiment, just to experiment with different libraries and frameworks, I shall add subtle animations to one of my projects.

In the meantime, visit Allison’s Flickr for some cool dance performance pics I took of her the weekend before last.

By the way, why doesn’t anybody comment on my blog anymore? I am talking about the people who usually comment before, yes…you! Hphmm!

Sorry, commenting closed for this article

1

- John Resig - 902 days ago

Hey, nice job with the conversion. I haven’t seen many Google Maps hacks done with jQuery, so this is good. One quick bug: If I enter a custom location (such as Cambridge, MA) and then click ‘Plot Traffic’, it shows the traffic for the old location (back in CA). Plot Accidents works as expected, though. Keep up the good work!


2

- Allison - 902 days ago

I comment!!...... but i guess you weren’t talking about me, were you :P

...and why are you directing people to MY flickr?!? No one wants to see pictures of ME dancing!!! :P

I love you!


3

- Son - 902 days ago

Thanks John for writing such a pretty cool library. I’ll be sure to check our your book when it comes out. It sounds useful.

Anyways, sorry for the confusion. This mashup is part of one of my grad course projects. The ‘Plot Traffic’ button only plots customized data from my own DB that was inserted from a S60 portable Java phone application. I will go ahead and make sure to change the title of that link to something else less confusing.


4

- Son - 902 days ago

Allison, no I wasn’t talking about you =P. Love you too.


5

- Derek - 900 days ago

ok, i just figured this out….i never entered my email addy in the prev posts! no wonder my comments werent showing….grrrr.

you and your impressive webjargon man. no wonder you’re bankin! ;)


6

- Allison - 899 days ago

Randomly, and since you no longer have a shoutbox that I can do this in….

I LOVE YOU!!!!


7

- Son - 899 days ago

Hey Derek. Yeah sorry, you have to enter your email in order for your comment to go through. Well…I suppose you can just enter some random email too. :)

And me banking…? naw…non of that’s going here…


8

- Son - 897 days ago

Test


9

- Allison - 897 days ago

No…. no more tests!! You should be all done with those!!!

I love you!!!

Hehe wow thats cool…. I’m watching the stuff I type come up under this…. :P yeah I’m a dork!

But anyways…. I love you!! Thanks for being such a good sport and so helpful today !!! :P


10

- Derek - 895 days ago

what in the world are you 2 doing down there???

go study ;) can’t wait to cya both!


11

- Montoya - 895 days ago

Hey, glad you found jQuery, I’ve been using it for about a month now and I love it. It’s got a lot of simple functions rolled together in a compact library, with a very nice structure for writing code.


12

- Son - 895 days ago

Allison, love you too.

Derek, study?! What’cha talking about! Anyway, see you soon down here.


13

- Son - 895 days ago

Montoya, jQuery is pretty neat, and I love how small it is. I also love how it’s allowing me to write maintainable code…which is always a plus!


14

- Allison - 894 days ago

I am having WAAAAAAAYYYYYY too much fun clicking on your logo. hehe its so cool!!!!!!!! haha im a dork


15

- Parnoto - 890 days ago

Hallo old friend. How are you doin lately? So will you visit my wedding in Indonesia? Please email me. thanks.


16

- Son - 883 days ago

Hey Parnoto! Long time no see. How have you been? I’ve been good so far. Congratulation! I sent you an email. We’ll talk then.


Can't find what you are looking for? Try here.


Recent Articles


Jump Image