1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can't make these two work together

Discussion in 'jQuery' started by qwikad.com, Jul 3, 2014.

  1. #1
    They fire fine separately, but will not work together. Is there a way to make them work?


    <script>
        window.onload = function(){
    
            $('#slider1').lemmonSlider({
                infinite: false
            });
            }
        </script>
    Code (markup):

    and


    <script>
      $(function() {
          $(".panel img[title]").tooltip();
        });
    </script>
    Code (markup):
     
    qwikad.com, Jul 3, 2014 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Those two is not what's crashing. It's the combination of the loaded scripts. What does console tell you? Which scripts are you using? I'm assuming one is named lemmonslider, and the other simply tooltip? Do you have a live site?
     
    PoPSiCLe, Jul 3, 2014 IP
  3. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,151
    Likes Received:
    1,656
    Best Answers:
    29
    Trophy Points:
    475
    #3
    I figured it out. It was an unrelated issue actually. I forgot to change the .class. LOL.
     
    qwikad.com, Jul 3, 2014 IP
  4. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #4
    Simple error to make - been there, done that :)
     
    PoPSiCLe, Jul 3, 2014 IP