SlideView Pro

Discussion in 'jQuery' started by buckmajor, Feb 13, 2011.

  1. #1
    Hi there

    I am trying to use the SlideViewPro jQuery from this site into my website.

    I have php include and also using another JavaScript for my drop down menu. So it's separate from the SlideViewPro.

    Here is my test link: http://www.dmaireroa.com/slideview/redesign.php

    After many hours of working on it and going onto 1 week now, I still can not get the SlideViewPro going.

    Any suggestions?

    Many thanks in advance
    CHEERS :)
     
    buckmajor, Feb 13, 2011 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Getting several "jQuery is not defined" errors, so move this line to the top before the other scripts.
    <script src="http://www.dmaireroa.com/slideview/slider/jquery-1.5.min.js" type="text/javascript"></script>
     
    Cash Nebula, Feb 14, 2011 IP
  3. buckmajor

    buckmajor Active Member

    Messages:
    574
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Hi Cash,

    I tried this already and didn't work. I was trying all sorts of variations and can't seem to solve this problem :(
     
    buckmajor, Feb 14, 2011 IP
  4. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The error messages have changed so I guess that is some progress :)

    There two jQuery libraries (v1.4.4 and v1.3.2). My test page fails with both and I get the exact same errors, but it works when the second line is removed.
    
    <script src="http://www.dmaireroa.com/slideview/slider/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://www.dmaireroa.com/slideview/javascripts/jquery.js"></script>
    
    Code (markup):
     
    Cash Nebula, Feb 14, 2011 IP
  5. buckmajor

    buckmajor Active Member

    Messages:
    574
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Cash,

    Do you mean to remove this:
     
    buckmajor, Feb 14, 2011 IP
  6. buckmajor

    buckmajor Active Member

    Messages:
    574
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #6
    I luv you..ahem! I mean it works Cash, I removed the second line and now got it going:
    <script type="text/javascript" src="http://www.dmaireroa.com/slideview/javascripts/jquery.js"></script>

    Thanks heaps for that Cash.
    CHEERS :)
     
    buckmajor, Feb 14, 2011 IP
  7. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hey, you're welcome :)

    That is really surprising, I would have thought multiple libraries would be fine but apparently that's not the case.
    Now we gotta watch out for anything that drop a different version in there. Fun and games in jQuery-land :rolleyes:
     
    Cash Nebula, Feb 15, 2011 IP
  8. buckmajor

    buckmajor Active Member

    Messages:
    574
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #8
    Yep, I couldn't agree more. By the way, it's my first using jQuery too ;)
     
    buckmajor, Feb 16, 2011 IP
  9. altertix

    altertix Greenhorn

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #9
    Unfortunately no you can't load the jquery library two times or more. So we have to choose only one version. I always prefer include the latest available version so I load http://code.jquery.com/jquery-latest.min.js
    But if you want to do the same, you'll have to check that all your scripts using jQuery work with the latest version of the library.
     
    altertix, Feb 24, 2011 IP