Disabling animations
Start-up Joomla template with amazing CSS3 animated icons, price tables and parallax effect background.
Rate this topic: 




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
Thanks
-
- 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
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.
- 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.
-
- 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.
-
- 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.
-
- Platinum Boarder
4 posts
• Page 1 of 1