Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    Sep 2011
    Posts
    57
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Twitter horizontal ticker creating headaches

    I've been going at this for a good week now, trying to figure out what the hell is going on.

    I have this tweet ticker code that scrolls a live feed at the very top of the header. It runs on jQuery 1.5.0. The site I have has a vertically scrollTo div for each button pressed on the navigation.

    The problem I'm having is that as soon as I plug in the jQuery 1.5.0 which turns on the tweet ticker, it stops the overflow and the scrollTo. So when I click on any of the navigation buttons it jumps to the next page rather than scrolling smoothly. Can anyone please please help me. This is driving me crazy lol.

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    you very likely have some kind of conflict going on. please post a link to your page or let us see your entire <head> section

  • Users who have thanked DanInMa for this post:

    eiger23 (09-30-2011)

  • #3
    New Coder
    Join Date
    Sep 2011
    Posts
    57
    Thanks
    8
    Thanked 0 Times in 0 Posts
    jonathaneiger.com

    So stuck. Thanks for the help.
    Last edited by eiger23; 09-30-2011 at 07:46 PM. Reason: left out something

  • #4
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    well you have 3 different versiosn of jquery loaded.

    change this:
    Code:
    		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    		<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript" charset="utf-8"></script>
    
            <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    		<script type="text/javascript" src="js/g=js.js"></script>
            <link rel="stylesheet" type="text/css" href="css/jquery.scrolling-tweet-ticker-1.1.css" />
    		<script type="text/javascript" src="js/jquery-1.5.min.js"></script>
    to this:

    Code:
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="js/g=js.js"></script>
    <link rel="stylesheet" type="text/css" href="css/jquery.scrolling-tweet-ticker-1.1.css" />
    then see what happens

  • #5
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    also you are getting an error:

    $("#slider").serialScroll is not a function line 14 js.js

    I dont see where you have loaded the serialscroll plugin in the code

  • #6
    New Coder
    Join Date
    Sep 2011
    Posts
    57
    Thanks
    8
    Thanked 0 Times in 0 Posts
    That was the problem. That I had 3 different versions loaded. I didn't see that. So why would it have problems if 3 different versions are loaded? Is it pretty much because it doesn't know which one to use? Thank you so much for your help.

  • #7
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    the framework goes through major and minor changes all the time. the 3 versions you had loaded span over id say.. 6-10 months worth of changes, so they were definitely fighting each other, not to mention the slow page load ( loads 3x's faster now )

    so yes, always only load one version of jquery and jqueryui as well.

  • #8
    New Coder
    Join Date
    Sep 2011
    Posts
    57
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Ohh ok, thank you so much for helping me out. It was driving me crazy.


  •  

    Posting Permissions

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