We help IT Professionals succeed at work.

jquery tools

debbieau1
debbieau1 asked
on
318 Views
Last Modified: 2012-05-11
The jquery tools download is missing a semi colon, but I am not exactly sure where to place it.  

Can anyone tell me where to place this to fix it.
Comment
Watch Question

Mohamed AbowardaSenior Software Engineer
CERTIFIED EXPERT

Commented:
What are you trying to do?

Author

Commented:
I just download from the jquery tools site.

Because there is a problem with the download, it can effect code below, when I add the link to the js file.    

If I run it in a separate file it's ok.

I did read somewhere there was a semi colon missing in the download.

I think the problem is somewhere in this part of the js

if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];

Mohamed AbowardaSenior Software Engineer
CERTIFIED EXPERT

Commented:
Why are you trying to fix a problem that was caused by incomplete download?

You can simply redownload a fresh version that will work perfectly.

I have attached a complete version of jQuery that should work with you without having to change anything.
jquery-1.6.1.min.js

Author

Commented:

Thanks
query downloaded perfectly.  It was downloading the jquery "tools" I had the problem with.  

Does your file include the tools?

Here is the one I am trying to access

http://flowplayer.org/tools/download/index.html


Author

Commented:
oops.  Meant to say jquery downloaded perfectly.
Senior Software Engineer
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I am having the same problem with this.

Jquery downloaded fine, as did the first file you posted.

I'll show you a screen capture in dreamweaver.  The change in colours shows  there is a problem.

You may need to open the attached image to see it better.

I appreciate your efforts and hope you can help
toolscapture.png
Mohamed AbowardaSenior Software Engineer
CERTIFIED EXPERT

Commented:
Do you get error when you try to do something using the library?

Also, there could be a bug in the library or in Dreamweaver that causes it to show invalid colors.

The best thing you can do is to work normally, and if you see error message you can post it.

Author

Commented:
I don't get any error  unfortunately

If use it on a page without other javascript its fine.   But when I try to add this into another page which includes other javascript, it seems to break it.   I have used jquery on this page without other probs. It is only with the tools download I have the problem, which is a shame because it is great.
Mohamed AbowardaSenior Software Engineer
CERTIFIED EXPERT

Commented:
What are you trying to accomplish exactly?

If you could post code that you are experiencing problems with, I will be able to help you better.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.