Code Examples About Jquery

Here you can find a list of code examples. Most are just documented functions. This is becoming my sort of personal code documentation repository. However, some examples have file attachments that you can download. All code exposed here is free and can be used without permission. No warranty is implied, but if you have questions about something, feel free to ask by posting a comment.

  • SliderCarousel

    This is an object that makes use of jquery to create a carousel with a nice sliding effect between slide transitions. I've included examples of the html it needs to work and the initialization of it.

  • Pre-cached Ajax jQuery Thumbnail Carousel

    I recently got out of a war. A war with drupal, ajax, and jquery. I'd say, as lame as it sounds, this was the hardest dynamic javascript and ajax widget I've written. Here's the lowdown on the requirements and the solution:

  • JQuery Scroller

    This is an object that makes use of jquery to create a nice scrolling effect when a button is clicked. This example isn't very generic, so it can't be used right out of the box. It's mostly just for illustration of one method of creating a class in javascript, then using jquery to wire up the events for the class. It's quite coupled to jquery, but is a good example of the syntax for how to code up a class in javascript nicely.