Results 1 to 2 of 2

Thread: JQuery Question

  1. #1
    Join Date
    Jun 2012

    JQuery Question

    I am not savvy with any programming but I can see where my CSS issue is coming from.

    Background: This is the JQuery for a slider I am using and I want to be able to call to multiple div's and I am not sure how to edit the code. The code is currently calling to .caption and I want it to call to multiple div's, (.caption1, .caption2, .caption3, etc...). I've tried ('.caption','.caption1') with no success, please help! Here is the code:

    preload: true,
    preloadImage: 'img/loading.gif',
    play: 5000,
    pause: 2500,
    hoverPause: true,
    animationStart: function(current){
    if (window.console && console.log) {
    // example return of current slide number
    console.log('animationStart on slide: ', current);
    animationComplete: function(current){
    if (window.console && console.log) {
    // example return of current slide number
    console.log('animationComplete on slide: ', current);
    slidesLoaded: function() {

    Thank you for your help.

  2. #2
    Join Date
    May 2006
    Somewhere behind your screen
    try to use $('*[class*=caption]') instead
    xxx: Guess Buddhist riddle: "What is the sound of one hand clapping?"
    yyy: facepalm

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles