Recently, I’ve been working on programming a site for my friend’s webcomic, and it has been going well. I don’t really know JavaScript, so I am using a few different sites to try to find pre-made scripts that will function. So far, I have found all that I have needed, until I come to the buttons. The buttons are:
Next
Previous
Home
Start
For home and start, I shouldn’t need script. I can just hardwrite them when the site changes. The Next and Previous buttons, on the other hand, are much more difficult. I am using inline frames for the comic panel and the news panel, so I am looking for ways for the buttons to be static. That means, I need it to look at which comic/news it is showing and then go to the next or previous one. Is there any way to do this with JS or will I have to go to PHP for the answer?
Thanks for the help.
P.S. If PHP is the only answer, could someone direct me in the right direction on how to do this in PHP or a good place to learn PHP? Thanks for all the help.