Forums

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

Home Forums JavaScript horizontal scrolling with mouse wheel help

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27879
    spikel
    Member

    I was wondering if anyone knew of a code that I can use to implement mouse wheel scroll for a horizontal layout website.

    #70528
    Chris Coyier
    Keymaster
    #70531
    spikel
    Member

    Hey Chris,

    Thanks for replying back to this. It doesn’t seem to be working. I created a horizontal scrolling site using your article https://css-tricks.com/how-to-create-a-h … ling-site/ and I have all the elements contained in a div. But when I try to attach the mousewheel event to the div it doesn’t work.

    Also I checked out the reference URL that you provided on that example page. The horizontal scrolling seems to work with the mouse wheel in firefox but not chrome (4.0.249.49 (35163) beta on mac) or safari (4.0.4 on mac).

    Thanks,

    Mike

    #70823
    spikel
    Member

    It’s weird. I got the script that Chris suggested to work. But it seems to only work for Safari and Chrome but not firefox. But the example that Chris gives works in firefox but not chrome and safari.

    Anybody know a solution?

    My site: http://www.tulyfoto.com
    Chris’ example site: http://digwp.com/weird-archives/

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.