The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’m working with this: https://codepen.io/anon/pen/LLNXZM
And i need function which active next or previous link after click to div prev or div next.
I tried something like this but it does not work.
var index = $('#links').children().index('#links');
How can i do that?
Well to start with there are no links in your Codepen…I’d start then.
Plus it’s not entirely clear what it is you are trying to do.