From 636bed8e18ed73bdd5737f3b3b8ed6bcaaa3e669 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 23 Oct 2018 16:57:25 -0400 Subject: [PATCH] New map uploaded and coded --- assets/map.svg | 559 ++++++++++++++++++++------------- assets/map_BAK.svg | 663 +++++++++++++-------------------------- parts/dropdown-map.php | 41 +-- parts/region-map.php | 568 ++++++++++++++++++++------------- parts/region-map_BAK.php | 221 +++++++++++++ 5 files changed, 1149 insertions(+), 903 deletions(-) mode change 100644 => 100755 assets/map.svg create mode 100644 parts/region-map_BAK.php diff --git a/assets/map.svg b/assets/map.svg old mode 100644 new mode 100755 index 517e653..96a01fb --- a/assets/map.svg +++ b/assets/map.svg @@ -1,211 +1,348 @@ - -image/svg+xml \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/map_BAK.svg b/assets/map_BAK.svg index bbcf34e..517e653 100644 --- a/assets/map_BAK.svg +++ b/assets/map_BAK.svg @@ -1,452 +1,211 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +image/svg+xml \ No newline at end of file diff --git a/parts/dropdown-map.php b/parts/dropdown-map.php index 4780dec..36da155 100644 --- a/parts/dropdown-map.php +++ b/parts/dropdown-map.php @@ -69,10 +69,13 @@ var region = $('.hover-region'); var color_up = '#0ba6e0'; - var color_east = '#8bd3dd'; + var color_mid = '#8bd3dd'; var color_southeast = '#00a0a3'; var color_southwest = '#05bdcd'; - var color_west = '#026b97'; + var color_north = '#026b97'; + + // EAST = MID + // WEST = NORTH var blue = '#90c3ea'; //var green = '#6C9B40'; @@ -85,52 +88,52 @@ $('#upper-peninsula').hover( function(){ - $('#upper-peninsula_shape').css("fill", blue); + $('#upper-peninsula').css("fill", blue); $(this).css("fill", blue); }, function(){ - $('#upper-peninsula_shape').css("fill", color_up); - $(this).css("fill", blue); + $('#upper-peninsula').css("fill", color_up); + // $(this).css("fill", blue); } ); - $('#east').hover( + $('#mid').hover( function(){ - $('#east_shape').css("fill", blue); + $('#mid').css("fill", blue); $(this).css("fill", blue); }, function(){ - $('#east_shape').css("fill", color_east); - $(this).css("fill", blue); + $('#mid').css("fill", color_mid); + // $(this).css("fill", blue); } ); $('#southeast').hover( function(){ - $('#southeast_shape').css("fill", blue); + $('#southeast').css("fill", blue); $(this).css("fill", blue); }, function(){ - $('#southeast_shape').css("fill", color_southeast); - $(this).css("fill", blue); + $('#southeast').css("fill", color_southeast); + // $(this).css("fill", blue); } ); $('#southwest').hover( function(){ - $('#southwest_shape').css("fill", blue); + $('#southwest').css("fill", blue); $(this).css("fill", blue); }, function(){ - $('#southwest_shape').css("fill", color_southwest); - $(this).css("fill", blue); + $('#southwest').css("fill", color_southwest); + // $(this).css("fill", blue); } ); - $('#west').hover( + $('#north').hover( function(){ - $('#west_shape').css("fill", blue); + $('#north').css("fill", blue); $(this).css("fill", blue); }, function(){ - $('#west_shape').css("fill", color_west); - $(this).css("fill", blue); + $('#north').css("fill", color_north); + // $(this).css("fill", blue); } ); //console.log(regions); diff --git a/parts/region-map.php b/parts/region-map.php index a677c7c..78475cf 100644 --- a/parts/region-map.php +++ b/parts/region-map.php @@ -1,221 +1,347 @@ - -image/svg+xml \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/parts/region-map_BAK.php b/parts/region-map_BAK.php new file mode 100644 index 0000000..a677c7c --- /dev/null +++ b/parts/region-map_BAK.php @@ -0,0 +1,221 @@ + +image/svg+xml \ No newline at end of file -- 2.17.1