travel concept
[robinkrens.nl] / travel / highlightasia.js
diff --git a/travel/highlightasia.js b/travel/highlightasia.js
new file mode 100644 (file)
index 0000000..b907d0e
--- /dev/null
@@ -0,0 +1,51 @@
+    $(function(){
+
+
+      $('#world-map').vectorMap({
+       backgroundColor: 'white',
+       regionStyle: {
+               initial: {
+                       fill: '#DDDDDD',
+                       "fill-opacity": 1,
+                       stroke: 'black',
+                       "stroke-width": 0.0,
+                       "stroke-opacity": 1
+                },
+               hover: {
+                       "fill-opacity": 0.8
+                       },
+               selected: {
+                       fill: '#99FF00'
+                       },
+               selectedHover: {}
+       },
+       selectedRegions: ["TH", "MY", "KH", "LA", "VN", "MM"
+                        ],
+       markerStyle: {
+               initial: {
+                       fill: '#FFFFFF',
+                       stroke: '#000000',
+                       r: 7,
+                       },
+               hover: {
+                       fill: "orange",
+                       stroke: 'black',
+                       "stroke-width": 1
+                         },
+               selected: {fill: '#FFFFFF',
+                       stroke: '#000000'}
+       },
+       focusOn: {
+               x: 0.75,
+               y: 0.6,
+               scale: 3,
+       },
+       onRegionClick: function (event, code) {
+       
+       if (code === 'TH') {
+            window.location = 'thailand.php';
+        }
+}
+
+});
+ });
\ No newline at end of file