[jQuery] Cycle plugin: more then elements in slideExpr:
Hi,
I know it is possible to use 'img' as slideExpr to show images in e.g.
a div
<div>
<img .......>
<img........>
<div>
or 'tr' to show rows in a table
<table>
<tr .......>
<tr........>
<table>
etc.
You choose a HTML Element in slideExpr
Is it also possible to use the CSS selectors to select images in a
certain class or ID?
<div class="cycle-images">
<img class='cycle' .......>
<img class='nocycle'........>
<div>
and use 'img .cycle' as slideExpr to show only the images with class
'cycle' or
use 'div .cycle-images img .cycle' as the slideExpr to show only the
images in the div with class 'cycle-images' and with class 'cycle'.
I tried this but it doesn't work.
Or maybe use an other expression to set the parent
<div class="cycle-images">
<img class='cycle' .......>
<img class='nocycle'........>
<div>
like parentExpr : 'div .cycle-images'
No idea how to make this possible or if it it possible?
Anyone an idea how to do this?
ppblaauw