“Content Swapper” is a JavaScript class that helps organize content on a single page in a way that navigating through it becomes very easy and user-friendly. It does so by swapping content based on a Fragment Identifier link (e.g. #some-id) that refers to an anchor element on the same page which has an attribute string equal to the fragment value (e.g. id=”some-id”). This script can be very useful for creating help files, faq pages, presentations etc.