# XML Slideshow: How to make Previous/Next buttons disappear at first/last image?

**URL:** <https://forum.kirupa.com/t/xml-slideshow-how-to-make-previous-next-buttons-disappear-at-first-last-image/216673>\
**Category:** flash\
**Created:** [February 19, 2007, 4:44pm UTC](https://forum.kirupa.com/t/xml-slideshow-how-to-make-previous-next-buttons-disappear-at-first-last-image/216673 "2007-02-19T16:44:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TenaciousMC](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@TenaciousMC](https://forum.kirupa.com/u/TenaciousMC)\
**Post date:** [February 19, 2007, 4:44pm UTC](https://forum.kirupa.com/t/xml-slideshow-how-to-make-previous-next-buttons-disappear-at-first-last-image/216673/1 "2007-02-19T16:44:01Z")

</div>

Hello,

Just wanted to say that this is a great tutorial. However, I’m wondering if there’s a way to make the Previous button not show up when you’re on the first image and the Next button not show up when you’re on the last image.

I appreciate any help you guys can give me. Thanks!

MC
