Only works in Firefox - The keyboard controls were implemented by intercepting the window.keydown events. Use Left and Right arrow keys to move the character. The controls code could easily be ported to other browsers.
Left arrow - run left
Right arrow - run right
Z - jump
The frames are stored in Aladdin64.gif, a continuous 64x64 sprite set from the Aladdin game (SNES version). Only the background sprite image position is changed to simulate animation. All animation frames are described by a single .gif file - Aladdin64.gif.
Designed for Firefox
Due to the lack of time on my part, this plugin will work best in Firefox browser. It shouldn't be difficult to make it properly work in other browsers such as Chrome, where the Aladdin sprite animation is a little faster than what was planned for it originally, or Internet Explorer.
Ideas for future
Add Abu and make him follow Aladdin. Add controls for throwing apples and sitting down.