Re: [CODE4LIB] jquery plugin to grab book covers from Google and link to Google books

2008-03-17 Thread Godmar Back
Good, but why limit it to 1 class per span?

My proposal separates different functionality in multiple classes,
allowing the user to mix and match. If you limit yourself to 1 class,
you have to provide classes for all possible combinations a user might
want, such as: "gbsv-link-to-preview-with-thumbnail".

 - Godmar

On Mon, Mar 17, 2008 at 4:30 PM, Bess Sadler <[EMAIL PROTECTED]> wrote:
> Matt Mitchell here at UVa just wrote a jquery plugin to access google
>  book covers and link to google books. I wrote up how to use it here:
>  http://www.ibiblio.org/bess/?p=107
>
>  We're using it as part of Blacklight, and we're making it
>  available through the Blacklight source code repository under an
>  Apache 2.0 license.
>
>  First, grab the plugin here: http://blacklight.rubyforge.org/svn/
>  javascript/gbsv-jquery.js, and download jquery here: http://
>  code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.3.min.js.
>
>  Now make yourself some HTML that looks like this:
>  
>
>src="jquery-1.2.3.min.js">
>    script>
>