user2002495
user2002495

Reputation: 2146

Jquery OnePageScroll.js get section of currently not active

Using this plugin:

http://www.thepetedesign.com/demos/onepage_scroll_demo.html

How can I get the section that is currently not displayed on the screen? I want to change its margin when its non-current condition is active.

Upvotes: 0

Views: 111

Answers (1)

Dhaval Panchal
Dhaval Panchal

Reputation: 648

try this css

.section:not(.active) {
    margin:... ;
    padding:... ;
}

Upvotes: 1

Related Questions