I am having an issues with jquery

on my site the menu works correctly on some of the pages, for example the home page:


but on pages where I have syndicated content such as


the menu fails to drop down.

The code for the syndicated content utilises a different version of jquery to the sites. Is there anyway I can have the syndicated content aswell as the menu working?



You have included jQuery a second time on the 'syndicated' page. It is already included by core. By including it again you are causing it all to fail. You need to stop including it on your 'syndicated' page.

Our newest Drupal site: PacificAikido.com (Drupal showcase)

The second Jquery is a different version. I have tried removing it but the content wont syndicate through.

Any body??

You have to remove the second inclusion of jQuery. You said you did so, and it stopped working, but you have moved one step forward in such a case. So what is happening when you remove that second call to jQuery? Are you getting javascript errors in your console? Give us a new description of the problem.

Our newest Drupal site: PacificAikido.com (Drupal showcase)

TB Mega Menu is running on the drupal jquery update as far as im aware.

The NHS Syndicated content requires the following code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://media.nhschoices.nhs.uk/widgets/az/nhs.az.widget.js"></script>
<script type="text/javascript">

JQuery_update is running 1.7

When the code is as above, the menu does not work.

When I remove the following line:

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

The NHS Content does not render and the menu works again. I have attempted to refer to drupals jquery_update using a full url in the code in place of google apis, using jquery 1.7. When I do this the content pulls through but still no menu action. It's driving me a little around the twist now. :P

Cheers Shaun

Well, removing the call to jQuery was correct. You'll have to contact the people who have created the syndication feed and ask them why their feed doesn't work with a newer version of jQuery.

Our newest Drupal site: PacificAikido.com (Drupal showcase)

There feed works perfect with all versions of Jquery, the issue is that the script requires a call to for it to properly syndicate. When there is a call to it conflicts with TB Mega Menu.

The NHS CHoices support will only reach for what they have created, and although it works with later versions of jquery they will only provide support for the version they are offering.

If it requires the inclusion of jquery, and any version will work, then you don't need to do anything, as Drupal already includes jquery on every page load. If the syndication is failing, you need to ask them why. The problem is not a inclusion of jquery, as it is definitely loaded on every page load.

Our newest Drupal site: PacificAikido.com (Drupal showcase)

I managed to get the menu working harmoniously with NHS Syndicated content, you were right that the inclusion of jquery was not needed. What I had done was deleted the line of code related to the location off the CSS stylesheet. Thanks for your help :)