initialized on. If your goal is to cycle the 2nd div as well, you
will need to use some wrapping divs.
http://malsup.com/jquery/cycle/int2.html
The examples at the bottom of that page show how you can cycle through
divs.
On Sep 30, 1:11 pm, Ricardo <ricardo.soaresdel...@gmail.com> wrote:
> Hello! I have this html markup:
>
> <div class="dinamica" style="position: relative; padding-bottom: 5px;"
> height="124" width="200">
> --some images here
> </div>
> <div style="padding-bottom: 5px;" height="124" width="200">
> <a href="javascript:void(0);">
> <img height="124" border="0" width="200" src="images/anuncio.png"/
>
> </a>
> </div>
>
> And this javascript code:
> $('.dinamica').cycle({fx : 'fade', timeout : '4000'});
>
> The images in the "dinamica" div turns ok. But the second div stays
> bellow the dinamica div. I tried to change the display of both divs to
> "block", and changing the position property. Any tip how to solve
> this?
> Thanks.
No comments:
Post a Comment