Disabling animations

Start-up Joomla template with amazing CSS3 animated icons, price tables and parallax effect background.
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
Wed Jul 24, 2013 7:49 am
Reply with quote
Report this post
Hi there, is it possible to disable module background image/table etc. animations during scroll, so that they are just there (static)?

Thanks
User avatar
Fresh Boarder

GK User
Wed Jul 24, 2013 8:05 am
Reply with quote
Report this post
The fastest way is just to remove this code from gk.script.js file

Code: Select all
document.getElements('.gkHorizontalSlideRightColumn').each(function(element, i) {
      elementsToAnimate.push(['animation', element, element.getPosition().y]);
   });
   
   document.getElements('.layered').each(function(element, i) {
      elementsToAnimate.push(['animation', element, element.getPosition().y]);
   });
   
   document.getElements('.gkPriceTableAnimated').each(function(element, i) {
      elementsToAnimate.push(['queue_anim', element, element.getPosition().y]);
   });


but of course there is also possibility to modify this suffix names in template CSS files and in code. Then you will keep the styling but script will not identify this elements as animated ones.
User avatar
Platinum Boarder

GK User
Wed Aug 14, 2013 4:25 pm
Reply with quote
Report this post
YEs, but can there also be a way to not have the background image anchored when the page is scrolled?

bkrztuk wrote:The fastest way is just to remove this code from gk.script.js file

Code: Select all
document.getElements('.gkHorizontalSlideRightColumn').each(function(element, i) {
      elementsToAnimate.push(['animation', element, element.getPosition().y]);
   });
   
   document.getElements('.layered').each(function(element, i) {
      elementsToAnimate.push(['animation', element, element.getPosition().y]);
   });
   
   document.getElements('.gkPriceTableAnimated').each(function(element, i) {
      elementsToAnimate.push(['queue_anim', element, element.getPosition().y]);
   });


but of course there is also possibility to modify this suffix names in template CSS files and in code. Then you will keep the styling but script will not identify this elements as animated ones.
User avatar
Fresh Boarder

GK User
Wed Aug 14, 2013 8:18 pm
Reply with quote
Report this post
You want to scroll the background like regular image ? It will be huge modification in gk.script.js but this demands to remove this whole 'parallax' effect.
User avatar
Platinum Boarder


cron