Recently I have been working on some coding for the main image in a character infobox. The code is supposed to show the art of the character from one game and list the game, and have two buttons to move left and right between different divs containing the game name and the artwork for each game.
I'm not that used to this type of coding so I'm not sure why it isn't working.
These are the pages related to the code:
- http://nintendo.wikia.com/wiki/MediaWiki:Common.js
- http://nintendo.wikia.com/wiki/MediaWiki:IMG_Minus
- http://nintendo.wikia.com/wiki/MediaWiki:IMG_Plus
- http://nintendo.wikia.com/wiki/MediaWiki:IMG_Setup1
- http://nintendo.wikia.com/wiki/User:Rocketslime_1_1/sandbox-4
Notes:
- I'm trying to get a way for the code to tell the number of game artworks there are so I tried doing it by having a different verbatim called for each number. If there is an easier way to do this, please let me know.