Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Can not disable slideshow transitions?

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi Guys,

I'm trying to disable the bounce and slide effects in the slideshow. My client wants the fade transitions that we have configured in the Zentools.

I've removed the code from the js/template.js file located in the template folder as per the instructions in the template documentation but the slideshow still uses the bounces and slides. Is there something else I'm suppose to do to disable these effects?

Link to site is: www.cfofm.org


Thanks

Don
  • roinuj's Avatar
  • roinuj
  • 12 Month basic
  • 99 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Don,

I tried this myself and it didn't work - after talking to Rob he explained the glitch

Can you paste the template.js file code after you removed the code as indicated by the doc into minified version

(I'd suggest making a copy of each file)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul that fixed it.
  • roinuj's Avatar
  • roinuj
  • 12 Month basic
  • 99 posts
  • Karma: 0
The administrator has disabled public write access.
You're welcome

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,
I have the same problem here: cosentini.com.s93212.gridserver.com/

I deleted the piece of code from template.js, din't work, I pasted it into the template.min.js and is not working either.

Any other suggestions?
Many thanks in advance.

Note: I have the slideshow set to Fade but it slides and bounces. If I set it to slide, it slides without the bounce.
  • spliteye's Avatar
  • spliteye
  • LIfetime Developer - Big Bamboo
  • 17 posts
  • Karma: 0
The administrator has disabled public write access.
What are you removing from the template.js file?

I've just re-tried this on a quickstart which uses fade and it works ok

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
and I forgot to mention - there is an issue with the logo on the dev site just in case you were not aware of it

You can see it if you view in firefox compared to Chrome

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,
I saw this fix at Documentation/Extensions/How to remove the animations from the New Lifestyle slideshow. These are the lines I removed:

jQuery('#slideshowwrap div').removeClass('animated');
jQuery('#slideshowwrap .zentext,#slideshowwrap .zentitle').addClass('animated bounceInLeft');
jQuery('#slideshowwrap .zentitle').addClass('animated bounceInRight');
jQuery('#slideshowwrap .zenitem2 .zentext,#slideshowwrap.zenitem4 .zentext,#slideshowwrap .zenitem6 .zentext,#slideshowwrap .zenitem2 .zenmore,#slideshowwrap .zenitem4 .zenmore').addClass('animated bounceInUp').removeClass('bounceInLeft');
jQuery('#slideshowwrap .zenimage').addClass('animated bounceInUp');
jQuery('#slideshowwrap .zenmore').addClass('animated fadeInUp');
jQuery('#slideshowwrap .zenitem2 .zenimage,#slideshowwrap .zenitem4 .zenimage,#slideshowwrap .zenitem6 .zenimage').addClass('animated bounceInRight');


As always, thanks in advance.
Roberto
  • spliteye's Avatar
  • spliteye
  • LIfetime Developer - Big Bamboo
  • 17 posts
  • Karma: 0
The administrator has disabled public write access.
So you removed these lines and then pasted the remaining code into the other js file?

and then saved?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
No, I pasted the same lines in the template.min.js
Was that the wrong thing to do?
  • spliteye's Avatar
  • spliteye
  • LIfetime Developer - Big Bamboo
  • 17 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks for noticing the logo in Firefox. I had to resize that, fixed, thanks.
R
  • spliteye's Avatar
  • spliteye
  • LIfetime Developer - Big Bamboo
  • 17 posts
  • Karma: 0
The administrator has disabled public write access.
You need to delete the lines from the template.js and then paste in the remaining code to the minified file

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
No probs with the logo

Easily done that one - done it myself before now

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
What remaining code?
  • spliteye's Avatar
  • spliteye
  • LIfetime Developer - Big Bamboo
  • 17 posts
  • Karma: 0
The administrator has disabled public write access.
You remove this

jQuery('#slideshowwrap div').removeClass('animated');
jQuery('#slideshowwrap .zentext,#slideshowwrap .zentitle').addClass('animated bounceInLeft');
jQuery('#slideshowwrap .zentitle').addClass('animated bounceInRight');
jQuery('#slideshowwrap .zenitem2 .zentext,#slideshowwrap.zenitem4 .zentext,#slideshowwrap .zenitem6 .zentext,#slideshowwrap .zenitem2 .zenmore,#slideshowwrap .zenitem4 .zenmore').addClass('animated bounceInUp').removeClass('bounceInLeft');
jQuery('#slideshowwrap .zenimage').addClass('animated bounceInUp');
jQuery('#slideshowwrap .zenmore').addClass('animated fadeInUp');
jQuery('#slideshowwrap .zenitem2 .zenimage,#slideshowwrap .zenitem4 .zenimage,#slideshowwrap .zenitem6 .zenimage').addClass('animated bounceInRight');

then paste the remaining code (e.g. without above) into the template minified version

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
LOL! of course.
Sorry, I'm still sleep this morning... Pardon me if I'm being obtuse.
When I paste the remaining code into template.min.js, should this code replace what's already in the min file, or added at the bottom?
  • spliteye's Avatar
  • spliteye
  • LIfetime Developer - Big Bamboo
  • 17 posts
  • Karma: 0
The administrator has disabled public write access.
It should replace it

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Got it. Done. It works.
Thank you Paulus!
  • spliteye's Avatar
  • spliteye
  • LIfetime Developer - Big Bamboo
  • 17 posts
  • Karma: 0
The administrator has disabled public write access.
No problem

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers