I've tried several ways to attempt to disable parallax scrolling when the window is resized below a certain size but have been unsuccessful. I've tried if else statements, self invoking functions and functions that call another function depending on screen size but they are not responsive meaning that I am not able to see the parallax being disabled on window resize. How would i go about doing this?

Hard to tell without seeing any code. Do you initialize the function also on .resize()?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.