@qoobbell Please realize that you can’t just “copy and paste” code and expect it to work. You need to understand what’s happening if you expect to be able to write code that does what you want. Understand that we are unable to provide full solutions. You will need to learn basic coding concepts to accomplish what you want.
I would suggest starting with the example. Once you see it working, you can then make changes to the code to adapt to your requirements.
If you need this urgently, then I would suggest you search the WixArena who can perform the work for you.