Create an Interactive Map with jQuery

with Chris Converse
please wait ...
Create an Interactive Map with jQuery
Video duration: 0s 47m 38s Intermediate


In this course, Chris Converse shows how to design and create a rich interactive map for a web site, working in a coding environment and using the open-source scripting library jQuery. The course covers creating web-optimized images using the slicing tools in Photoshop, implementing the HTML and CSS to assemble an infographic page layout, and adding interactivity with JavaScript and jQuery's fast and concise code library.

Take a look at the finished web site here.

Topics include:
  • Preparing web graphics
  • Creating the main container
  • Manipulating links with CSS
  • Adding a drop-down menu
  • Downloading jQuery and adding interactivity to a project
  • Creating city details
  • Overriding click events of anchor tags with jQuery

Previewing the project across browsers and devices

- [Voiceover] Hi,this is Chris Converse and this is the course on creating an interactive map for your website. I want to start by showing the final project inside of the exercise files that you can download as part of the course. So inside of the Final Project folder I am gonna open up the HTML file, so what we're gonna be creating is this interactive map. We're gonna have a drop-down menu in the lower left-hand area. Selecting different items in the drop-down menu will change the dots that are plotted across the map. So if I come over here and select Europe for example, any dot that is not on Europe will fade away and only the dots that are assigned Europe will show up.

In addition, if we come over to the dots and click on them, we're gonna fade the city detail information over on the right. We're gonna fade it down, change the content, and then fade it back up. All of this content is gonna be in this webpage hidden through CSS, and as I go to the different dots we can fade that information, change it, and bring it back up. Now to create this user experience we're gonna be using HTML, CSS, and JavaScript. We're also gonna be hooking jQuery into our project to give us the ability to create dynamic relationship between the drop-down menu and the dots, and the dots and their city detail information.

Now one of the advantages of a framework like jQuery is that the code that we develop for one platform will work across the other platform and devices as well. So here we are looking at the exact same user experience over in Windows 7 on IE 9, and I can come in here and click on the individual dots, change the form menu, and get exactly the same user experience we were just looking at over on the Mac platform in Safari. In addition to computer screens we can also take a look at this across mobile devices. So I want to bring up the Android simulator here showing us a handheld device.

I can come in here and tap the individual dots on an Android phone and see the same exact user experience, or even come in to a tablet simulator, and take a look at the same user experience running on an iPad simulator as well. I am going to hit Command Right Arrow to rotate this. Hold Option to pinch up. Tap and move around. Tap on the individual dots and see the content change here as well. So I hope this sounds interesting to you and if so let's get started with the first movie.

please wait ...