chalkflewup,
The code you inserted is working fine. If you look at the source for the page, you’ll see the JavaScript is being printed at the bottom of the page.
The issue is that you don’t have any attachments that are being matched so the gallery is not generating any icons. If you had icons, they would be opening in a new page.
It looks like you’re directly inserting some document on that page, which will not (and should not) be affected by the JavaScript I’ve provided. If you take a look at the video I put together on the Document Gallery home page, that should clarify how to include documents within the gallery.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! ??