Forums

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

Home Forums JavaScript Help with cool effect using Javascript and background fixed!

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42686
    mdyorke
    Participant

    I would like to know how to get the effect on this site:

    [http://www.pickledwalnutcatering.co.uk/](http://www.pickledwalnutcatering.co.uk/ “”)

    Thanks!

    #124311
    rosspenman
    Participant

    Something like [this](http://codepen.io/rosspenman/pen/iuldA)?

    Note: I used Sass for this. To see the CSS, click the Sass text at the top of the text box on CodePen.

    #124319
    mdyorke
    Participant

    Hey Rosspenman, thanks for sharing that code…This is the effect I wanted but I was wondering if there was a javascript code to have each div automatically scale 100% height of the window depending on the screen size.

    #124324
    mdyorke
    Participant

    Hey, I took rosspenman’s code and elaborated on it with some jquery I found online…here is the end result that I was looking for:

    http://jsfiddle.net/mdyorke/XyKA6/1/

    Thanks for the help!

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