The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Horizontal drag scrolling Reply To: Horizontal drag scrolling


Great, if you want I can message you my email address if you want to show any hosted examples with URL’s you don’t want on the form?

Yeah I know we were looking at the conditional stuff/resizing at the end. I’m not sure if window.matchMedia and mediaQueryList will be any use for that?

I gave it ago using:


    if ( $(window).width() > 480) {     
        //Add your javascript for large screens here 

    else {
        //Add your javascript for small screens here


But it doesn’t react on resize.

Thanks again!