Recently, I took on the challenge of managing a golf club website after the original creator had to step away. One urgent issue I need to address is fixing a malfunctioning flash animation that provides information about each hole on the course. My plan is to redo it in JavaScript, although it has been quite some time since I've worked with this language and time is of the essence. That's why I'm reaching out here for assistance.
Here are the requirements:
- The entire golf course map must be visible
- Users should be able to click on different holes on the map
- Clicking on a hole should display a detailed image, description, and sponsor advertisement for that specific hole
- (Optional) The advertisement should appear with a flying-in animation to capture the user's attention