I am working on a site with an image rotator (using jQuery Roundabout). I installed in jQuery that when I click on an image, it displays the specific content associated with that image using the following code:
$('#brand-cou').click(function() {
$('#brand-details .detail-section').fadeOut(0);
$('#detail-country-squire').fadeIn("slow");
return false;
});
Where # brand-cou is the one containing the image and # detail-country-squire is the section I want to show. This works great, expect me to also have the next and previous arrow, which is an alternative way to move people around the image rotator. My hardest part is getting the right text to show when they are moving around the rotator using these controls. This is the code I have now:
$('a#next').click(function() {
if ('li'.id = 'brand-cou' && 'li'.hasClass('roundabout-in-focus') {
}
});
, ".roundabout-in-focus". , if , , A, .roundabout-in-focus, . - . , , , . , , , . - , , . , , li round-out-in-focus, ( , / ), , , - , .
!