Solved

jcarousel scrolling

Posted on 2011-09-22
2
277 Views
Last Modified: 2012-05-12
hi

jcarousel allows you to scroll between each item with a next and previous button/link

as i am scrolling 1 item at a time i would like each item/image to be clickable so that once clicked it scrolls onto the next image.

Does anyone know how to achieve this?

Cheers
0
Comment
Question by:coolispaul
2 Comments
 
LVL 3

Expert Comment

by:mykde
ID: 36582933
I believe that this can be accomplished by simply adding the class "jcarousel-next" to the <li> element that contains the image.
jcarousel-next

Open in new window

0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 36584059
Try this (put it at the end, inside $(document).ready(function() { :


$("img",".jcarousel-list").click(function() { $(".jcarousel-next").trigger("click"); });

Open in new window

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now