Page 1 of 1

Guestbook stops nivo slider in template

Posted: 05 Sep 2014, 23:49
by stef101
I have installed the latest guestbook.

We have a "Nivo slider" (java script) in our template but when we go to the guestbook, the sliders stops.

What can be the problem ?

Re: Guestbook stops nivo slider in template

Posted: 07 Sep 2014, 15:20
by Jan
Hi, hmm, this can be some conflict when two different modules are loaded on one page and their javascript libraries are in conflict?

Do you get any javascript error there?
https://www.phoca.cz/documents/16-joomla ... -conflicts
Jan

Re: Guestbook stops nivo slider in template

Posted: 07 Sep 2014, 20:55
by stef101
Thanks for the reply Jan.

I've started the debugger but I don't see a problem at first sight.

The website is http://www.kinderdagverblijf-droom.be/

You see a slider moving but when you click on "Gastenboek" (The guestbook) you see that the slider stops. It is not that urgent but I cannot see where
the problem is.

Re: Guestbook stops nivo slider in template

Posted: 08 Sep 2014, 15:08
by Jan
Hi, hmm, on your site, I get two javascript error (on your home page):
Timestamp: 8. 9. 2014 15:01:53
Error: ReferenceError: browser is not defined
Source File: http://www.kinderdagverblijf-droom.be/t ... /script.js
Line: 1389

Timestamp: 8. 9. 2014 15:01:53
Error: TypeError: $(...).off is not a function
Source File: http://www.kinderdagverblijf-droom.be/t ... ponsive.js
Line: 262

On the site with Phoca Guestbook I see about four javascript errors, do you get the same problem with another template (some standard template)?

Jan

Re: Guestbook stops nivo slider in template

Posted: 08 Sep 2014, 21:02
by stef101
Thanks Jan,

i've used another debugger but now i've installed firebug. Now I see the errors you describe.

The guestbook works fine with the standard template so I think that we can probably conclude that the .js scripts are conflicting :(

I have not created the template but I see that the creator uses the nivo slider that you can download on following site:
http://dev7studios.com/plugins/nivo-slider/

I've tried another guestbook as a test and with the guestbook I have the same problem.

I've adapted the template (remove another script) but I am not a specialist.

As I said before. This is not an urgent problem but any advise you can give me is appreciated. This site is for a children day care center where my wife is working.

Thanks a lot.

Re: Guestbook stops nivo slider in template

Posted: 09 Sep 2014, 00:02
by Jan
Hi, unfortunately I am not javascript expert so this is more a question on the template developer :idea: :-(

Jan

Re: Guestbook stops nivo slider in template

Posted: 09 Sep 2014, 11:22
by stef101
No problem Jan,

I will try to fix it. Now I know where to look.

Thank for your help.

Re: Guestbook stops nivo slider in template

Posted: 09 Sep 2014, 22:00
by Jan
Ok