1
Answer

Elements according to active LI

Hi, I have a requirement where I need to hide the elements according to the active LI

suppose I have 10 LI elements when I reach to 5th position I need to show only 3rd - 7th elements, which means active - 2 and active +2 elements can be shown rest of them hides 

how is this possible in Jquery

Answers (1)