Hey all.
I was wondering if someone could help me out. I’m building a mp3 player for a site.
I was thinking, is it possible to use a for loop and i = 1 - then just make a list of songs, and when someone pushes the forward button just add i - thereby jump to the next song on the list? And when someone pushes the back button, just subtract i and thereby jump to the previous song on the list??
I’m quite bad at loops, variables etc. so if anyone could help me out with an example, it would be greatly appreciated.
Or am I going about this the wrong way? Is there a better way to do it?
Any thoughts/help/examples will be greatly appreciated.
Thank you.
Stig