About Us
Welcome To grammarsbd.com. grammarsbd.com is a Professional Education Platform. Here we will provide you only interesting content, which you will like very much. We're dedicated to providing you the best of Educational Content, with a focus on dependability. We're working to turn our passion for Educational Content into a booming online website. We hope you enjoy our products as much as we enjoy offering them to you. If you have any questions or comments, please don't hesitate to contact us.
Thanks For Visiting Our Site
Have a nice day !
window.addEventListener('wheel', function(event) {let dn = document.getElementById('dn');if (event.deltaY > 0) {dn.style.display= "none"; } else if (event.deltaY < 0){dn.style.display= "block"; }});
// Check if the device supports touch events
if ('ontouchstart' in window || navigator.maxTouchPoints) {
// Add touch event listeners for scrolling
document.addEventListener('touchstart', handleTouchStart);
document.addEventListener('touchmove', handleTouchMove);
}
// Variables to track touch start position
let startX;let startY;
function handleTouchStart(event) {
// Record the start position of touch
startX = event.touches[0].clientX;startY = event.touches[0].clientY;
}
function handleTouchMove(event) {
// Calculate the distance traveled
let deltaX = event.touches[0].clientX - startX;
let deltaY = event.touches[0].clientY - startY;
// Check if the distance traveled is mostly vertical
if (Math.abs(deltaY) > Math.abs(deltaX)) {
// If so, handle it as a vertical scroll
if (deltaY < 0) {
// Scrolling down
let dn = document.getElementById('dn');
dn.style.display= "none";
} else {
// Scrolling up
let dn = document.getElementById('dn');
dn.style.display= "block";
}}}-->