TimK Posted October 3, 2014 Share Posted October 3, 2014 (edited) Hej community, I've got a problem with my new 1.6.0.9 PS... I editing a lot and now I've the following problem: Some JS files starts but nothing work... for example the homeslider module: I put an alert on the beginning of the js file and into the function... and I get only this one of the beginning... the result: the slider don't slide... the same for other modules like multiple features etc... the js files starts but don't start the functions... anyone an idea where is the problem? :-/ I don't know what it could be... Edited October 3, 2014 by TimK (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted October 3, 2014 Share Posted October 3, 2014 for best results, please post your front office url for review by community, thanks Link to comment Share on other sites More sharing options...
TimK Posted October 6, 2014 Author Share Posted October 6, 2014 sorry, your right.... http://aquanzen.de Link to comment Share on other sites More sharing options...
TimK Posted October 8, 2014 Author Share Posted October 8, 2014 (edited) I still have the problem with JS... Edited October 8, 2014 by TimK (see edit history) Link to comment Share on other sites More sharing options...
DrunkBug Posted October 8, 2014 Share Posted October 8, 2014 I still have the problem with JS... Hi, I see one problem in your file http://aquanzen.de/themes/aquanzen/js/modules/homeslider/js/homeslider.js if (!!$.prototype.bxSlider) $('#homeslider').bxSlider({ useCSS: false, maxSlides: 1, slideWidth: homeslider_width, infiniteLoop: homeslider_loop, hideControlOnEnd: true, pager: false, autoHover: true, auto: homeslider_loop, speed: parseInt(homeslider_speed), pause: homeslider_pause, controls: true }); You have to change maxSlides: 1 to something bigger - it's how many max slides you want. Now it's configured to show only 1 slide, so that's why it doesn't slide your images. In developer console, I changed it to 5, and it started to slide your images. Link to comment Share on other sites More sharing options...
TimK Posted October 8, 2014 Author Share Posted October 8, 2014 Hi, I see one problem in your file http://aquanzen.de/themes/aquanzen/js/modules/homeslider/js/homeslider.js if (!!$.prototype.bxSlider) $('#homeslider').bxSlider({ useCSS: false, maxSlides: 1, slideWidth: homeslider_width, infiniteLoop: homeslider_loop, hideControlOnEnd: true, pager: false, autoHover: true, auto: homeslider_loop, speed: parseInt(homeslider_speed), pause: homeslider_pause, controls: true }); You have to change maxSlides: 1 to something bigger - it's how many max slides you want. Now it's configured to show only 1 slide, so that's why it doesn't slide your images. In developer console, I changed it to 5, and it started to slide your images. thanks! I had change this number but nothing starts Link to comment Share on other sites More sharing options...
DrunkBug Posted October 8, 2014 Share Posted October 8, 2014 thanks! I had change this number but nothing starts Ok, my bad, you can leave maxSlides set to 1. Can you try to add javascript alert in homeslider.js before "if (!!$.prototype.bxSlider)", and if it executes, then try to add alert inside this "if" statement. And then post the results. Link to comment Share on other sites More sharing options...
TimK Posted October 8, 2014 Author Share Posted October 8, 2014 Ok, my bad, you can leave maxSlides set to 1. Can you try to add javascript alert in homeslider.js before "if (!!$.prototype.bxSlider)", and if it executes, then try to add alert inside this "if" statement. And then post the results. I don't get an alert before "if (!!$.prototype.bxSlider)"... only an alert before "$(document).ready(function()"... Link to comment Share on other sites More sharing options...
TimK Posted October 10, 2014 Author Share Posted October 10, 2014 but all that is not my problem... I've the lines into my header.tpl... and the homeslider.js is loading... but the functions don't start. also in some other modules... And I don't know why... Link to comment Share on other sites More sharing options...
El Patron Posted October 10, 2014 Share Posted October 10, 2014 Ok, my bad, you can leave maxSlides set to 1. Can you try to add javascript alert in homeslider.js before "if (!!$.prototype.bxSlider)", and if it executes, then try to add alert inside this "if" statement. And then post the results. but all that is not my problem... I've the lines into my header.tpl... and the homeslider.js is loading... but the functions don't start. also in some other modules... And I don't know why... sorry about that, also I apologize to drunkbug who was helping...the other poster should have made new post. when I visit your front office front page I see this issue: http://screencast.com/t/KPXkq8hTSjNk I do not know this error well, I used chrome ctl/shigt/j and refreshed screen. drunkbug had other ideas with good input on java... Link to comment Share on other sites More sharing options...
TimK Posted October 10, 2014 Author Share Posted October 10, 2014 OK... It's a problem with jQuery... That's why "$(document).ready(function(){" don't work... But how I can fix it, I don't know :-/ Link to comment Share on other sites More sharing options...
El Patron Posted October 10, 2014 Share Posted October 10, 2014 I feel dumb about this, but the homeslider works if I click on arrows, chrome/firefox. you are expecting it to autoplay but it does not? Link to comment Share on other sites More sharing options...
TimK Posted October 10, 2014 Author Share Posted October 10, 2014 I'm working at the moment and I deinstalled the blocksearch module and installed it new and all is ok... the slider works and the other modules are working too... but I don't know where was the problem... Thank you for your help! Link to comment Share on other sites More sharing options...
nathanielleee Posted October 15, 2014 Share Posted October 15, 2014 Im having a similar problem in my test site apostoliccompany.com you can check it out. the home tabs do not work, or the brand slider. the top slider works though just no other script? Link to comment Share on other sites More sharing options...
El Patron Posted October 16, 2014 Share Posted October 16, 2014 Im having a similar problem in my test site apostoliccompany.com you can check it out. the home tabs do not work, or the brand slider. the top slider works though just no other script? if it is really important to you, and if nothing helped in this post, open a new post. thanks Link to comment Share on other sites More sharing options...
sachacohenfr Posted October 17, 2014 Share Posted October 17, 2014 (edited) Hey, i have the same problem ! Since i upgrade to 1.6.0.9 some jquery script does not run ! Did you find an issue ? Edited October 17, 2014 by sachacohenfr (see edit history) Link to comment Share on other sites More sharing options...
TimK Posted October 17, 2014 Author Share Posted October 17, 2014 I'm working at the moment and I deinstalled the blocksearch module and installed it new and all is ok... the slider works and the other modules are working too... but I don't know where was the problem... Thank you for your help! Link to comment Share on other sites More sharing options...
nathanielleee Posted October 17, 2014 Share Posted October 17, 2014 one thing i found that fixed the problem for me is going to Advanced - performance - minify java turned OFF that fixed the issue for me 1 Link to comment Share on other sites More sharing options...
Recommended Posts