free to use, no credit needed but is included for people to find my templates.if you find what i make useful to you, i wouldn't mind a tip.
to make a button link to another page instead, insert onclick="window.location.href = 'URL HERE'" instead of calling swapCat().