kg.scripts.js doesn't work properly

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Jan 22, 2016 9:06 am
Reply with quote
Report this post
Hi,
I've got problem with gk.scripts.js. On my site I have got module DJ Image Slider - it works good when I comment line with linkage to gk.scripts.js http://screencast.com/t/M60MzJDL and I notice that it stoped working when I updated Joomla! to 3.4.8.

Unfortunetly when I disable gk.scrips.js other things stop working. I can show link to page which I work on only in PM.
User avatar
Fresh Boarder

teitbite
Tue Jan 26, 2016 9:51 am
Reply with quote
Report this post
Hi

Uncomment this line and tell me the url to Your site.
User avatar
Moderator

GK User
Wed Jan 27, 2016 11:34 am
Reply with quote
Report this post
@teitbite - I sent you a PM with link. Thanks.
User avatar
Fresh Boarder

teitbite
Fri Jan 29, 2016 3:33 pm
Reply with quote
Report this post
Hi

I've just visited Your site, but I can see /js/gk.scripts.js file and DJ slider working at the same time. Am I missing something or is this problem connected with a specific browser/operating system maybe ?

Please explain what is the problem exactly with DJ slider and specify what to do to see it.
User avatar
Moderator

teitbite
Fri Jan 29, 2016 3:36 pm
Reply with quote
Report this post
Here a small video to show it's working fine: http://g.recordit.co/sDpg45Cmwl.gif

Try maybe clear cache of joomla and browser. Maybe site is using some files from before an update.
User avatar
Moderator

GK User
Fri Jan 29, 2016 6:07 pm
Reply with quote
Report this post
oh, I wait few days so today I tried to fix it by myself... I uncomment this line so gk.scripts.js is now in orginal state.
User avatar
Fresh Boarder

GK User
Fri Jan 29, 2016 6:12 pm
Reply with quote
Report this post
Clearing cache doesn't work
User avatar
Fresh Boarder

GK User
Fri Jan 29, 2016 6:32 pm
Reply with quote
Report this post
One more thing - when I comment line 356 ( " menu_activators.ranges[i] = jQuery('#'+id).offset().top - 60;" ) - then slider is displayed.
User avatar
Fresh Boarder

GK User
Sun Jan 31, 2016 3:33 pm
Reply with quote
Report this post
OK, I made it!!!
I know what was wrong. I started to creating multilanguage site, so gk.scripk.js didn't see ID's positions dedicated to slider. I duplicated template for each language. I did the same for menus (different menu for every language). Last thing was conected template's menus to new languages menus. Now everythig works as it should be.

Thanks @teitbite for your time.

Bye :)
User avatar
Fresh Boarder

teitbite
Thu Feb 04, 2016 12:13 pm
Reply with quote
Report this post
Hi

I haven't done much :) anyway I'm happy You've made it working. Closing this thread now.
User avatar
Moderator


cron