Skip to main content

Jquery not responding

Hi,

I'm working on a custom overlay (like the splash page, but less clunky).

I have a link to use jquery in my NB custom theme:

<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>

However, in the documentation, it says that jquery is automatically loaded, but I don't see that in my theme. Do you know what version?

It also seems that it's not responding at all but on my test dev page, it works fine, so I think it's a NB-specific syntax thing.

I'm also using jquery.cookies.js...is that allowed (I uploaded it to my "Files").

TIA,

Karen

Official response from

Right now, our sites are loading Version 1.9.1 of jQuery, but that will change over time. We try to do our best to keep that version current. The reason you can't see it in your theme is because it's automatically rendered via the "content_for_header" include, which is found in your _layout.html template.

With regard to jquery.cookies.js, the best way to determine whether that would cause a conflict with your theme would be to test it. I don't know of any reason why it would offhand, but without knowing exactly what's contained in the file I couldn't say for sure.

Share this post

Showing 6 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.