Results 1 to 2 of 2

Thread: JQuery Script order

  1. #1
    Join Date
    Apr 2009
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default JQuery Script order

    I am building a site that uses three JQuery plugins.
    1. ScrollTo
    2. Lightbox
    3. JPlayer

    I am not able to get ScrollTo and Lightbox to work in conjunction with JPlayer. I'm wondering if I'm ordering the scripts incorrectly on my page. This is the order I have now.

    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type='text/javascript' src='js/init.js'></script>
    <script type='text/javascript' src='js/jquery.scrollTo-min.js'></script>
    <script type="text/javascript" src="js/jquery.jplayer.min.js"></script>
    <script type="text/javascript" src="js/jquery.jplayer.inspector.js"></script>
    <script type="text/javascript" src="js/playlist.js"></script>
    <script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>


    Would one of these scripts cancel out another?

  2. #2
    Join Date
    Apr 2009
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Specifically I noticed that jquery.min.js interferes with the rest but is necessary for jplayer to work.

Bookmarks

Posting Permissions

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