Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-03-30 14:50:53

Gallex
Member
Registered: 2006-10-08
Posts: 1,129

jCarousell

any ideas why jcaroussel ‘auto scroll’ effect don’t work in this page ?

Last edited by Gallex (2013-04-01 06:49:07)

Offline

#2 2013-03-30 15:56:27

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 583
Website

Re: jCarousell

You’re initializing it on an element that doesn’t seem to exist. It’s looking for an element with the class “.jCarouselLite” if you check your init call.

jQuery(".header-image .jCarouselLite").jCarouselLite({

Offline

#3 2013-03-31 08:22:51

Gallex
Member
Registered: 2006-10-08
Posts: 1,129

Re: jCarousell

Solved. needed an extra div wrapper

<div class="header-image">
<div class="jCarouselLite">
<ul>
<li><img src="http://otland.ee/images/11.jpg" alt="palkmaja1" width="358" height="256" /></li>
<li><img src="http://otland.ee/images/12.jpg" alt="palkmaja2" width="358" height="256" /></li>
</ul>
</div>
</div>

case closed

Offline

Board footer

Powered by FluxBB