[Answer]-JQuery Script interfering with Navigation Links

1👍

I think I found your problem.

It is your css, on some pages the elements generated/used by your jquery scripts overlay the navigation, therefore you can’t click, or sometimes see them.

You have to clean up your css, best if you read about z-index , that should help you solve your problem. (use firebug or chrome dev tools!)

Here are some more hints on your jQuery usage:

Combine all the scripts in your $(document).ready(function(){ }) functions into 1 document.ready function.

For the functionality in these scripts, you don’t even need the document.ready.

If possible, include these scripts at the bottom of the page for better performance, the document.ready just does load after the DOM is finished.

Leave a comment