Switched conditional with div selector