[jQuery] Cycle plugin: pulling in only child elements with a certain class?

[jQuery] Cycle plugin: pulling in only child elements with a certain class?


Hello,
If my HTML for a cycle slideshow is something like the following,
where certain child divs (slides) have a particular class:
<div id="slideshow">
<div class="slide web"><img ...></div>
<div class="slide"><img ...></div>
<div class="slide web"><img ...</div>
</div>
is there any way to set up the slideshow so that cycle only pulls in
the child divs with a class of "web", instead of all the divs with a
class of "slide"? So in the above example, the slideshow would contain
2 elements instead of 3.
I thought it might be possible using the slideExpr option, but I think
I'm misunderstanding how that works. When I try this:
    $('#slideshowl').cycle({
     fx: 'fade',
     pause: 1,
     speed: 600,
     timeout: 3,
slideExpr: 'div.web'
    });
I get an empty set.
Any assistance would be massively appreciated.
Cheers,
Erik