Jquery Help!

I am working on a clients template that includes jquery-1.7.min.js
This is being used for the navigation menu for mobile, and the floating “To the top” button as you scroll through the page.

See here:
www.mymarketingsolutions.com/site

So I was asked to use this Twitter plugin that uses jquery 1.9.1 to pull a post in to the footer.

As you can see i got it working here - www.mymarketingsolutions.com/A - but I lose the mobile menu and scroll up button on mobile (not really necassary), but need the menu.

I have added this to the header that is causing the issue:
<!–Twitter Script–>
<script type=“text/javascript” src=“http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js”></script>
<script type=“text/javascript” src=“js/Twitter/tweetie.min.js”></script>

Any idea how to use both jquery together for this to work?

Thanks
Ryan.

You override the jQuery what is created for menu so that the menu can’t work. You can include js files like this


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

    <script src="js/superfish.js" type="text/javascript"></script>
	<script type="text/javascript" src="js/jquery.ui.totop.js"></script>
    <script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
    <script src="js/jquery.hoverIntent.minified.js"></script>
    <script src="js/jquery.mobilemenu.js"></script>
	<script src="js/script.js" type="text/javascript"></script>
	
	<!--Twitter Script -->
	<script type="text/javascript" src="js/Twitter/tweetie.min.js"></script>

So remove 1.7 and change it to 1.9.1 or just remove 1.9.1 of jQuery.

<script src="js/jquery-1.7.min.js" type="text/javascript"></script>
    <script src="js/superfish.js" type="text/javascript"></script>
	<script type="text/javascript" src="js/jquery.ui.totop.js"></script>
    <script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
    <script src="js/jquery.hoverIntent.minified.js"></script>
    <script src="js/jquery.mobilemenu.js"></script>
	<script src="js/script.js" type="text/javascript"></script>
	
	<!--Twitter Script -->
	<script type="text/javascript" src="js/Twitter/tweetie.min.js"></script>

Issue is removing either of the jQuery scripts.

If i remove the 1.7 script the menu and “to the top” button don’t work.

and

If i remove the 1.9.1 script the twitter api doesn’t work.

Ryan.

I have updated the superfish.js files to the newest version and with keeping just the 1.9.1 I think i have them both working together.

Also on the mobile site when I go to www.mymarektingsolutions.com/test it auto forwards me to the about us page? Nexus 5 Android device…

ui.to the top is still not working…

Ryan.

I have this 95% working using jQuery 1.8.1 instead of the two above.

I am just wondering why i can see the ui.tothetop button on the main page but not that others.

http://mymarketingsolutions.com/test/
http://mymarketingsolutions.com/test/about-us.html

and or some reason my color hyperlinks on the about us drop down are now red compared to white on solutions… but that’s a problem for another time lol.