Jump to content

Tab problem & Jcarousel


robert_gsfame

Recommended Posts

I found some open source javascript code to create a scroll up text 'Jcarousel'...the problem is that data only appear at the first tab panel but not for the other...as i am new to javascript i need someone helps to find the problem..

 

This is what i have inside my html code.....(* Actually the carousel is control by an external JS file that makes ul and li tags turn into the carousel)

 

var startCarousel = function() {

  $(".newsticker-jcarousellite").jCarouselLite({

      vertical: false,

      hoverPause:true,

      visible: 5,

      auto:1000,

      speed:2000

  });

};

 

this is my html code

 

 

<div class="TabbedPanelsContent2"><table width="645" border="0"><tr><td width="200" valign="top"><div id="newsticker-demo">   

 

    <div class="newsticker-jcarousellite">

<ul>

            <li>

 

<div class="info1">

               

<a href="http://www.vladstudio.com/wallpaper/?knight_lady">The Knight and the Lady</a>

 

<span class="cat">Category: Illustrations</span>

</div>

<div class="clear1"></div>

</li>

 

            <li>

 

<div class="info">

<a href="http://www.vladstudio.com/wallpaper/?family_of_colors">The Family of Colors</a>

<span class="cat">Category: Creatures</span>

</div>

<div class="clear"></div>

</li>

            <li>

<div class="info1">

<a href="http://www.vladstudio.com/wallpaper/?teddybear_mac">Teddy Bear and MacBook</a>

<span class="cat">Category: Photos</span>

</div>

<div class="clear1"></div>

</li>

 

<li>

<div class="info">

<a href="http://www.vladstudio.com/wallpaper/?rainbow_butterfly">Rainbow Butterfly</a>

<span class="cat">Category: Abstract art</span>

</div>

 

<div class="clear"></div>

</li>

<li>

<div class="info1">

<a href="http://www.vladstudio.com/wallpaper/?space_travel">Space Travel</a>

 

<span class="cat">Category: Abstract art</span>

</div>

<div class="clear1"></div>

</li>

<li>

<div class="info">

<a href="http://www.vladstudio.com/wallpaper/?traveling_tree">The Traveling Tree</a>

<span class="cat">Category: Creatures</span>

</div>

<div class="clear"></div>

</li>

        </ul>

    </div>

 

   

</div></td></tr></table></div>

 

 

thx

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.