# RedBox Next And Previous Buttons

**URL:** <https://www.ruby-forum.com/t/redbox-next-and-previous-buttons/138621>\
**Category:** Rails\
**Created:** [May 26, 2008, 1:48am UTC](https://www.ruby-forum.com/t/redbox-next-and-previous-buttons/138621 "2008-05-26T01:48:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9bd4f/32.png) [@joel](https://www.ruby-forum.com/u/joel)\
**Post date:** [May 26, 2008, 1:48am UTC](https://www.ruby-forum.com/t/redbox-next-and-previous-buttons/138621/1 "2008-05-26T01:48:05Z")

</div>

Hello All,

I have on my page a list of promotion items with a “Details” link to a  
popup window ( using redbox ) that gives more precise details about  
the promotion item. However I would like to add next and previous  
buttons on my popup Window so that the user does not need to close the  
current one and click on another promotion details link.

Is this possible ? I thought about a solution that would close the  
actual window and load another one corresponding to the next promotion  
item details. But I think we can just load the details through ajax  
but I don’t know how to exactly do this using.

Regards,

Joel
