is part of an example of slideshow
I could not understand this part.
Who can explain me in detail:
currentPosition = ($(this).attr('id')=='rightNav')
? currentPosition+1 : currentPosition-1;
how they would be able to write?(just to understand)
currentPosition = ($(this).attr('id')=='rightNav')
? currentPosition+1 : currentPosition-1;