Adding the content for the cities


show more Adding the content for the cities provides you with in-depth training on Web. Taught by Chris Converse as part of the Create an Interactive Map with jQuery and Dreamweaver show less
please wait ...

Adding the content for the cities

Before we add additional city_detail information into the HTML of our file, I want to go through and isolate all of our CSS rules. So let's come over to the interactive_map.css file. A lot of times when you are going to create an interactive component that goes into somebody else's web site, you want to isolate all of your CSS rules, which means we want to have every rule start with the name of our outermost container. So in here I am going to select .map_container at the very top of the CSS rule, copy this to the clipboard, and inside of this CSS I want to paste .map_container and space before each one of the different rules.

This means that these rules will only take effect if they're inside of our .map_container. One before .form_continent. I am going to add this before each one of the different classes. Basically this is turning every one of these rules into a compound CSS rule.

Now that we have .map_container in front of each one of these items, let's come back to t...

Adding the content for the cities
Video duration: 4m 9s 1h 12m Intermediate Updated Aug 31, 2011

Viewers:

Adding the content for the cities provides you with in-depth training on Web. Taught by Chris Converse as part of the Create an Interactive Map with jQuery and Dreamweaver

Subject:
Web
Software:
Dreamweaver jQuery
Author:
please wait ...