added cabins text to the hover region in the campground map
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 12 Aug 2016 12:37:55 +0000 (08:37 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 12 Aug 2016 12:37:55 +0000 (08:37 -0400)
assets/[cabins-map].map
campground-map.php

index 66702d6..41431bb 100644 (file)
@@ -6,11 +6,13 @@
 <!-- #$-:Please do not edit lines starting with "#$" -->
 <!-- #$VERSION:2.3 -->
 <!-- #$AUTHOR:anthony -->
-<area shape="poly" coords="389,79,401,81,394,100,381,94" alt="cabin-3"  nohref="nohref" />
-<area shape="poly" coords="410,98,419,85,429,91,421,108" alt="cabin-2"  nohref="nohref" />
-<area shape="poly" coords="429,116,448,116,445,127,427,128" alt="cabin-1"  nohref="nohref" />
-<area shape="poly" coords="406,269,414,256,424,263,416,276" alt="cabin-d"  nohref="nohref" />
-<area shape="poly" coords="359,287,373,286,373,302,360,302" alt="cabin-f"  nohref="nohref" />
-<area shape="poly" coords="216,524,227,527,220,547,210,543,209,542" alt="cabin-5"  nohref="nohref" />
-<area shape="poly" coords="262,15,278,13,274,34,264,32" alt="cabin-4"  nohref="nohref" />
+<area shape="rect" coords="262,14,334,32" alt="cabin-4"  nohref="nohref" />
+<area shape="rect" coords="308,286,373,303" alt="cabin-f"  nohref="nohref" />
+<area shape="rect" coords="429,115,500,128" alt="cabin-1"  nohref="nohref" />
+<area shape="poly" coords="394,99,388,96,384,95,380,93,364,94,343,94,326,94,324,93,322,90,322,82,324,75,336,76,353,77,363,76,367,80,373,78,377,76,380,76,385,76,396,78,402,80,401,85,399,91,394,97" alt="cabin-3"  nohref="nohref" />
+<area shape="poly" coords="410,97,415,90,420,82,425,85,432,87,437,84,444,83,447,85,449,85,461,84,470,83,473,85,482,83,489,84,487,91,488,95,488,98,475,99,464,99,452,99,440,99,432,98,428,98,424,104,422,108,416,107,409,99" alt="cabin-2"  nohref="nohref" />
+<area shape="poly" coords="385,199,385,189,402,190,408,190,408,177,408,174,391,174,370,174,363,172,371,169,375,165,367,160,372,156,366,149,360,144,358,147,355,144,353,142,345,147,340,153,344,158,349,164,354,169,354,171,343,170,334,172,335,181,335,189,342,188,354,187,357,190,356,203,371,204,384,205" alt="recreation-hall"  nohref="nohref" />
+<area shape="poly" coords="402,268,410,259,414,254,422,258,427,262,431,257,436,259,453,259,464,259,470,258,478,258,481,261,481,264,480,272,476,274,468,275,451,274,440,274,430,275,424,273,422,272,417,277,415,277" alt="cabin-d"  nohref="nohref" />
+<area shape="poly" coords="215,524,227,529,233,532,260,533,285,534,284,542,285,547,303,546,315,549,318,557,318,564,306,566,276,565,252,565,232,565,226,565,225,553,226,548,210,547,206,543" alt="cabin-5"  nohref="nohref" />
+<area shape="poly" coords="313,319,313,325,312,333,302,331,299,344,299,350,324,350,342,351,357,351,355,340,357,334,350,335,340,336,341,327,340,317" alt="pavilion"  nohref="nohref" />
 </map>
index b54be63..d2d09ed 100644 (file)
@@ -188,15 +188,15 @@ $js_categories = json_encode($categories);
                       <div id="cabin-map-container">
                             <h5 class="map-headline">Hover over a campsite to view specifications and pictures</h5>
                             <map name="cabins-map" id="cabins-map">
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="389,79,401,81,394,100,381,94" alt="cabin-3-2" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" />
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="410,98,419,85,429,91,421,108" alt="cabin-2" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" />
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="429,116,448,116,445,127,427,128" alt="cabin-1" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" />
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="406,269,414,256,424,263,416,276" alt="cabin-d" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" />
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="359,287,373,286,373,302,360,302" alt="cabin-f-2" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" />
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="216,524,227,527,220,547,210,543,209,542" alt="cabin-5" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" />
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="262,15,278,13,274,34,264,32" alt="cabin-4" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" /> 
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="343,153,351,146,356,154,362,148,367,154,364,157,370,164,357,172,343,155" alt="recreation-hall" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" />
-                                <area class="tooltip_hover show-for-medium-up" shape="poly" coords="316,319,315,328,341,330,341,320" alt="pavilion" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="rect" coords="262,14,334,32" alt="cabin-4"  nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="rect" coords="308,286,373,303" alt="cabin-f"  nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="rect" coords="429,115,500,128" alt="cabin-1"  nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="poly" coords="394,99,388,96,384,95,380,93,364,94,343,94,326,94,324,93,322,90,322,82,324,75,336,76,353,77,363,76,367,80,373,78,377,76,380,76,385,76,396,78,402,80,401,85,399,91,394,97" alt="cabin-3"  nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="poly" coords="410,97,415,90,420,82,425,85,432,87,437,84,444,83,447,85,449,85,461,84,470,83,473,85,482,83,489,84,487,91,488,95,488,98,475,99,464,99,452,99,440,99,432,98,428,98,424,104,422,108,416,107,409,99" alt="cabin-2"  nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="poly" coords="385,199,385,189,402,190,408,190,408,177,408,174,391,174,370,174,363,172,371,169,375,165,367,160,372,156,366,149,360,144,358,147,355,144,353,142,345,147,340,153,344,158,349,164,354,169,354,171,343,170,334,172,335,181,335,189,342,188,354,187,357,190,356,203,371,204,384,205" alt="recreation-hall"  nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="poly" coords="402,268,410,259,414,254,422,258,427,262,431,257,436,259,453,259,464,259,470,258,478,258,481,261,481,264,480,272,476,274,468,275,451,274,440,274,430,275,424,273,422,272,417,277,415,277" alt="cabin-d"  nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="poly" coords="215,524,227,529,233,532,260,533,285,534,284,542,285,547,303,546,315,549,318,557,318,564,306,566,276,565,252,565,232,565,226,565,225,553,226,548,210,547,206,543" alt="cabin-5"  nohref="nohref" />
+                                <area class="tooltip_hover show-for-medium-up" onmouseover="site_info(this);get_pos(event); "   onclick="full_content_tool_tip(this)" shape="poly" coords="313,319,313,325,312,333,302,331,299,344,299,350,324,350,342,351,357,351,355,340,357,334,350,335,340,336,341,327,340,317" alt="pavilion"  nohref="nohref" />
                           </map>
                         <img src="<?php echo get_template_directory_uri(); ?>/assets/cabins-map.jpg" alt="bottom-map" usemap="#cabins-map">
                       </div>