I always mount the fans close to and in front of the toilet. If it has a light then it goes more over the toilet. As far as I can find in the code book, the only thing mentioned about light and fans near showers and tubs are pendent hung or mounted below thw the ceiling. You can mount it inside the shower if it is rated for wet locations, but I think most are not.
Contractor Talk - Professional Construction and Remodeling Forum
A forum community dedicated to professional construction and remodeling contractors. Come join the discussion about the industry, trades, safety, projects, finishing, tools, machinery, styles, scales, reviews, accessories, classifieds, and more!