Fabulous solution when space is too tight for a standard hinged door. You can also put furniture on the walls next to this opening, just leaving enough space behind the furniture for the doors to slide.
we ordered a door from Home Depot that had 5 frosted glass panels in it. Perfect for letting light radiate through, but also enough to give anyone in the bathroom the privacy they need. - See more at: http://www.thehouseofsmiths.com/2014/05/our-master-bathroom-sliding-door-basin.html#more