Support Forums - Classified Ads Script Osclass

Osclass theme support => Delta Osclass Theme => Topic started by: yvelef on January 20, 2023, 04:14:46 AM

Title: Scroll to Top not show if is in top
Post by: yvelef on January 20, 2023, 04:14:46 AM
 is it possibility if is in top, not view Top-logo same at "theme Epsilon" in "isDesktop or IsTablet"

and need to disable if isMobile


************************************
you send me this code:

1)  into global.js add following:
$(window).on('scroll', function(){
if($(document).scrollTop() > 720) {
$('#scroll-to-top').fadeIn(200);
} else {
$('#scroll-to-top').fadeOut(200);
}
});

and

2) into style.css add:
#scroll-to-top {display:none;}
************************************

this code is ok for "isDesktop or IsTablet"


but im nedd desable if is isMobile

thanks
Title: Re: Scroll to Top not show if is in top
Post by: MB Themes on January 20, 2023, 05:08:38 PM
Latest global.js has this update.
You can get it from demo (not updated yet)
Title: Re: Scroll to Top not show if is in top
Post by: yvelef on January 21, 2023, 05:12:50 AM
how do i get the latest version Latest global.js
Title: Re: Scroll to Top not show if is in top
Post by: MB Themes on January 24, 2023, 09:22:50 AM
Quote
You can get it from demo
https://delta.mb-themes.com/oc-content/themes/delta/js/global.js?v=20230124092238