-
AuthorPosts
-
orsomannaro Friend
orsomannaro
- Join date:
- January 2008
- Posts:
- 241
- Downloads:
- 32
- Uploads:
- 18
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
March 27, 2015 at 11:57 am #205071In my home page I have a Features Intro style-5 module.
The “Features Intro Details” content of the module, only appear, with a delay of some seconds, when I scroll down the page.
This is not beautiful to see.
Is it possible to change this behaviour (i.e. immediately loading the “Features Intro Details” or do it faster when user scroll the page)?
Thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 30, 2015 at 4:56 am #565015Hi
Could you post your site’s URL here so that I can take a look? also tell me the Uber style you’re using.
sublimemag Friendsublimemag
- Join date:
- May 2012
- Posts:
- 29
- Downloads:
- 49
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 7 times in 3 posts
September 16, 2015 at 10:21 am #684347Hi,
I would also like to fix this, as the info appears rather late and it looks empty. I am using Uber Church on this url:
http://testserver.santamariamedia.com/stmark/
I’d be grateful if you could take a look.
Many thanks
sublimemag Friendsublimemag
- Join date:
- May 2012
- Posts:
- 29
- Downloads:
- 49
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 7 times in 3 posts
September 16, 2015 at 10:21 am #748765Hi,
I would also like to fix this, as the info appears rather late and it looks empty. I am using Uber Church on this url:
http://testserver.santamariamedia.com/stmark/
I’d be grateful if you could take a look.
Many thanks
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 17, 2015 at 4:30 am #684987Hi
If you don’t want to have this inview feature – elements appear only when scrolling to, you will need to change a bit in JS and ACM Features Intro – Style 5:
– /root/templates/uber/js/script.js
Look for this code:
//inview events
$('.section, .feature-animate, .sections-wrap .t3-module').bind('inview', function (event, visible, visiblePartX, visiblePartY) {
if (visible) {
if (visiblePartY == 'bottom' || visiblePartY == 'both') {
if(!$(this).hasClass('section-mask')){
$(this).addClass('inview').trigger('inview');
}
}
}
});
change it to:
//inview events
$('.feature-animate, .sections-wrap .t3-module').bind('inview', function (event, visible, visiblePartX, visiblePartY) {
if (visible) {
if (visiblePartY == 'bottom' || visiblePartY == 'both') {
if(!$(this).hasClass('section-mask')){
$(this).addClass('inview').trigger('inview');
}
}
}
});
– /root/templates/uber/acm/features-intro/tmpl/style-5.php
Replace:
<div style="animation-delay: <?php echo ($animationDelay + ($animationDelay * $i)); ?>ms; -webkit-animation-delay: <?php echo ($animationDelay + ($animationDelay * $i)); ?>ms;" data-animation="fade" class="col animate">
with:
<div style="animation-delay: <?php echo ($animationDelay + ($animationDelay * $i)); ?>ms; -webkit-animation-delay: <?php echo ($animationDelay + ($animationDelay * $i)); ?>ms;" data-animation="" class="col">
Remember to backup your files before making changes.
Hope this helps.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 17, 2015 at 4:30 am #748839Hi
If you don’t want to have this inview feature – elements appear only when scrolling to, you will need to change a bit in JS and ACM Features Intro – Style 5:
– /root/templates/uber/js/script.js
Look for this code:
//inview events
$('.section, .feature-animate, .sections-wrap .t3-module').bind('inview', function (event, visible, visiblePartX, visiblePartY) {
if (visible) {
if (visiblePartY == 'bottom' || visiblePartY == 'both') {
if(!$(this).hasClass('section-mask')){
$(this).addClass('inview').trigger('inview');
}
}
}
});
change it to:
//inview events
$('.feature-animate, .sections-wrap .t3-module').bind('inview', function (event, visible, visiblePartX, visiblePartY) {
if (visible) {
if (visiblePartY == 'bottom' || visiblePartY == 'both') {
if(!$(this).hasClass('section-mask')){
$(this).addClass('inview').trigger('inview');
}
}
}
});
– /root/templates/uber/acm/features-intro/tmpl/style-5.php
Replace:
<div style="animation-delay: <?php echo ($animationDelay + ($animationDelay * $i)); ?>ms; -webkit-animation-delay: <?php echo ($animationDelay + ($animationDelay * $i)); ?>ms;" data-animation="fade" class="col animate">
with:
<div style="animation-delay: <?php echo ($animationDelay + ($animationDelay * $i)); ?>ms; -webkit-animation-delay: <?php echo ($animationDelay + ($animationDelay * $i)); ?>ms;" data-animation="" class="col">
Remember to backup your files before making changes.
Hope this helps.
sublimemag Friendsublimemag
- Join date:
- May 2012
- Posts:
- 29
- Downloads:
- 49
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 7 times in 3 posts
September 21, 2015 at 9:59 am #688135Thanks Saguaros. This change makes the features-info block load with the page (better than before), but I wonder if we could instead modify the ‘inview’ variable so that we still have the nice ‘fade’ effect, but loading much earlier when scrolling down the page? As it is now, I have to wait for the top of the features title to come to the top of the page – can we set the inview effect kick in earlier than that?
sublimemag Friendsublimemag
- Join date:
- May 2012
- Posts:
- 29
- Downloads:
- 49
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 7 times in 3 posts
September 21, 2015 at 9:59 am #749180Thanks Saguaros. This change makes the features-info block load with the page (better than before), but I wonder if we could instead modify the ‘inview’ variable so that we still have the nice ‘fade’ effect, but loading much earlier when scrolling down the page? As it is now, I have to wait for the top of the features title to come to the top of the page – can we set the inview effect kick in earlier than that?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 23, 2015 at 3:04 am #691724Let me check with the team for further checking on this improvement.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 23, 2015 at 3:04 am #749409Let me check with the team for further checking on this improvement.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 23, 2015 at 3:14 am #691726You can rollback above change and open this file: /root/templates/uber/js/script.js
Look for this snippet of code:
//inview events
$('.section, .feature-animate, .sections-wrap .t3-module').bind('inview', function (event, visible, visiblePartX, visiblePartY) {
if (visible) {
if (visiblePartY == 'bottom' || visiblePartY == 'both') {
if(!$(this).hasClass('section-mask')){
$(this).addClass('inview').trigger('inview');
}
}
}
});
change it to:
//inview events
$('.section, .feature-animate, .sections-wrap .t3-module').bind('inview', function (event, visible, visiblePartX, visiblePartY) {
if (visible) {
if (visiblePartY == 'top' || visiblePartY == 'both') {
if(!$(this).hasClass('section-mask')){
$(this).addClass('inview').trigger('inview');
}
}
}
});
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 23, 2015 at 3:14 am #749411You can rollback above change and open this file: /root/templates/uber/js/script.js
Look for this snippet of code:
//inview events
$('.section, .feature-animate, .sections-wrap .t3-module').bind('inview', function (event, visible, visiblePartX, visiblePartY) {
if (visible) {
if (visiblePartY == 'bottom' || visiblePartY == 'both') {
if(!$(this).hasClass('section-mask')){
$(this).addClass('inview').trigger('inview');
}
}
}
});
change it to:
//inview events
$('.section, .feature-animate, .sections-wrap .t3-module').bind('inview', function (event, visible, visiblePartX, visiblePartY) {
if (visible) {
if (visiblePartY == 'top' || visiblePartY == 'both') {
if(!$(this).hasClass('section-mask')){
$(this).addClass('inview').trigger('inview');
}
}
}
});
1 user says Thank You to Saguaros for this useful post
sublimemag Friendsublimemag
- Join date:
- May 2012
- Posts:
- 29
- Downloads:
- 49
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 7 times in 3 posts
September 23, 2015 at 11:50 am #691952Thank you! That’s exactly what I needed 🙂
sublimemag Friendsublimemag
- Join date:
- May 2012
- Posts:
- 29
- Downloads:
- 49
- Uploads:
- 4
- Thanks:
- 10
- Thanked:
- 7 times in 3 posts
September 23, 2015 at 11:50 am #749465Thank you! That’s exactly what I needed 🙂
-
AuthorPosts
This topic contains 14 replies, has 3 voices, and was last updated by sublimemag 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum