Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Jquery questions View modes: 
User avatar
Member
Member
emoore33 - 10/11/2010 11:20:24 AM
   
Jquery questions
Hi, I've been going through the documentation and forums and I see that it is possible to register jquery through the API, which is great. But, I cannot find any documentation on it beyond one example of implementing a custome menu. Can you point me to the documentation?

These are the questions that I am trying to answer:

Which version of jQuery is supported in the Kentico API?
Is it Minimized?
Are there references for both 1.3.2 and 1.4?

Do you have the jquery-ui script accessible also?

Should one use $(), $j() or $jquery() to avoid collisions with other javascript?
What other javascript are you using? (I saw a reference to MooTools as well as AjaxToolKit, are there others?)


Thanks for your help, I am just getting started with Kentico and I prefer jQuery and hope to use it in preference to the AjaxToolKit for several things.
-Erin

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 10/15/2010 10:05:24 AM
   
RE:Jquery questions
Hi,

please find the answers within your questions:

Which version of jQuery is supported in the Kentico API?

We are using 1.3.2. You can see it in ~\CMSScripts\jquery\jquery-core.js

Is it Minimized?
As you can see from that file, yes, it is minimized.

Are there references for both 1.3.2 and 1.4?
Only 1.3.2 currently, 1.4 will be included (and referenced) in Kentico CMS version 6.0

Do you have the jquery-ui script accessible also?
No, we don't use it. We also use jquery.noconflict, so please be aware of that when using additional jquery libraries.

Should one use $(), $j() or $jquery() to avoid collisions with other javascript?
The safest is to use just "jquery()", $j is possible but it's mostly for compatibility with prototype.

What other javascript are you using?
frameworks - prototype, mootools;
lightbox
skmMenu
jquery plugins - tooltip, dropshadow
and others..

You can see all scripts we use in CMSScripts folder.

Hope this sheds some more light into our js scripts usage.

Regards,
Zdenek

User avatar
Member
Member
emoore33 - 10/15/2010 10:37:14 AM
   
RE:Jquery questions
Thank you for your response, thsi is very helpful.

Don't know why I didn't think to look in the scripts folder, but I appreciate your willingness to help out and give clarification on the other points also.