Seeking advice on the best approach to take.
Division 1 or section - Apply style 1 if division 1 is currently visible on the screen.
Division 2 or section - Apply style 1 if division 2 is currently visible on the screen.
Division 3 or section - Apply style 2 or class 2 if division 3 is currently hidden from the screen.
Division 4 or section - Apply style 1 or class 1 if division 4 is currently hidden from the screen.
Any suggestions would be greatly appreciated.