Question on lightbox and ajax view

Hi guys,

I created an ajax view that basically display the number of likes. I register the view in my plugin and is able to load when clicked. However, lightbox seems to allow me to load the previous likes as well, which means if my current like have 2 likes, I can navigate to see the first like as well. how can I turn that off?

 

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking