Too many carousel items in jCarousel Lite v1.0.1

I’ve been working on a project and found the need for a carousel. After some searching I found a great script called jCarousel Lite. I found a bug with the implementation of jCarousel Lite v1.0.1 and how it uses selectors to get the number of li’s in a carousel. In my implementation I’m using list items within each carousel item. After looking at your code the following would result in jCarousel thinking that it has 3 items in the carousel when really there is only 1.

The current implementation of jCarousels use of $(‘li’, ul) in the constructor will return all nested li’s regardless of how deeply nested they are in the dom structure. To handle this issue I’ve modified a few lines of code in the constructor to fix this issue. Feel free to apply these changes if you see fit.

Here’s the original snippet:

Here is my modified version:

Date
March 30, 2011
Time
8:11 pm
Category
Uncategorized
Tags
Tags: , ,


goosh.org – the unofficial google shell.

Goosh (Google Shell) is a cool web-app written by Stefan Grothkopp. It’s not an official Google product but does tie into many of functions that Google does provide. All access is done through a command-line interface.

Here is a list of the commands that are available:

  • web – google web search
  • lucky – go directly to first result
  • images – google image search
  • wiki – wikipedia search
  • clear – clear the screen
  • help – displays help text
  • news – google news search
  • blogs – google blog search
  • feeds – google feed search
  • open – open url in new window
  • go – open url
  • more – get more results
  • in – search in a specific website
  • load – load an extension
  • video – google video search
  • read – read feed of url
  • place – google maps search
  • lang – change language
  • addengine – add goosh to firefox search box
  • translate – google translation

Check it out: goosh.org – the unofficial google shell.

Date
June 3, 2008
Time
4:44 pm
Category
Uncategorized
Tags
Tags: , , , , ,


PNGPong v1.0.0: Displaying transparent PNGs in IE

I’d like to announce the first public release of PNGPong, a cross-browser solution for displaying transparent PNGs on the web for IE, Firefox, and Safari.

Download Links

For more details check out the PNGPong project page.

It’s been tested by several developers and QA people and is in use for a high traffic site. Please note that the Javascript API and functionality was created out of the needs of a specific project. I’d be happy to hear your thoughts on improvements.

Thanks for checking this out.

Date
April 17, 2007
Time
1:41 am
Category
Uncategorized
Tags
Tags: , , , , , ,