Javascript for a webpart container

David Pearson asked on November 21, 2014 14:47

Version: 8.1 I place an un-order list in a web part container that becomes a slider with jquery script called easy slider. My jquery script is loading good but easyslider1.7.js is not. I placed Easy Slider into the Javascript Files and added the web part javascript to the CMS Web Part Zone.

Should I just add the script to the head like I did the jquery-1.11.0 since the javascript webpart is not loading?

What is the best method for adding jquery libraries?

Thanks David

Recent Answers


David Komárek answered on November 21, 2014 14:56 (last edited on November 21, 2014 14:56)

Please see the following article, which described the best practices for adding custom jQuery in Kentico 8.1: Article link

0 votesVote for this answer Mark as a Correct answer

MyPoint CreditUnion answered on November 21, 2014 18:54

I just have this to add, might want to have a look. Hope it helps...

http://devnet.kentico.com/articles/using-a-custom-jquery-when-developing-pages-in-kentico

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on November 26, 2014 06:47

When you're testing make sure you're completely logged out of all tabs or windows. If you're login is cached, there is a good chance some items from the Admin interface might load and cause conflicts. So although you followed the directions as specified, UI javascript can cause a lot of problems with your actual site design.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.