Saniya kari (Talk | contribs) |
Saniya kari (Talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
− | + | ||
<style> | <style> | ||
svg { | svg { | ||
Line 200: | Line 200: | ||
</script> | </script> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | |||
+ | jQuery(window).ready(function() { | ||
+ | jQuery('#map').vectorMap({ map: 'world_mill', | ||
+ | hoverOpacity: 0.7, | ||
+ | hoverColor: false, | ||
+ | backgroundColor: '#6ec5cd', | ||
+ | markers: [ | ||
+ | {latLng: [51.21, 6.81], name: 'Düsseldorf'}, | ||
+ | {latLng: [-33.45, -70.64], name: 'Santiago de Chile'}, | ||
+ | {latLng: [58.41, 15.62], name: 'Linköping'}, | ||
+ | {latLng: [29.76, -95.36], name: 'Houston'}, | ||
+ | {latLng: [48.85, 2.34], name: 'Paris'}, | ||
+ | {latLng: [48.80, 1.80], name: 'Paris2'}, | ||
+ | {latLng: [40.42, -86.92], name: 'Lafayette'}, | ||
+ | {latLng: [40.63, 22.95], name: 'Greece'}, | ||
+ | {latLng: [-3.1, -60.01], name: 'Manaus'}, | ||
+ | {latLng: [48.62, 2.42], name: 'Évry'}, | ||
+ | {latLng: [47.60, -122.31], name: 'Seattle'}, | ||
+ | {latLng: [43.60, 1.44], name: 'Toulouse'}, | ||
+ | {latLng: [40.81, -96.68], name: 'Lincoln'}, | ||
+ | {latLng: [49.20, 2.00], name: 'Paris'}, | ||
+ | {latLng: [42.26, -71.8], name: 'Worcester'}, | ||
+ | {latLng: [-33.86, 151.20], name: 'Sydney'}, | ||
+ | {latLng: [51.48, -3.18], name: 'Cardiff'}, | ||
+ | {latLng: [39.45, -0.35], name: 'Valencia'} | ||
+ | ], | ||
+ | markerStyle: { | ||
+ | initial: { | ||
+ | fill: '#d96564', | ||
+ | stroke: '#bc1d4a', | ||
+ | "fill-opacity": 1, | ||
+ | "stroke-width": 1, | ||
+ | "stroke-opacity": 1, | ||
+ | r: 5 | ||
+ | }, | ||
+ | hover: { | ||
+ | stroke: '#005567', | ||
+ | "stroke-width": 2, | ||
+ | cursor: 'pointer' | ||
+ | }, | ||
+ | selected: { | ||
+ | fill: 'blue' | ||
+ | }, | ||
+ | selectedHover: { | ||
+ | } | ||
+ | }, | ||
+ | series: { | ||
+ | regions: | ||
+ | [{ | ||
+ | values: { | ||
+ | AE:' #fdd8a9', | ||
+ | AF:' #fdd8a9', | ||
+ | AG:' #fdd8a9', | ||
+ | AL:' #fdd8a9', | ||
+ | AM:' #fdd8a9', | ||
+ | AO:' #fdd8a9', | ||
+ | AR:' #fdd8a9', | ||
+ | AT:' #fdd8a9', | ||
+ | AU:' #fdd8a9', | ||
+ | AZ:' #fdd8a9', | ||
+ | BA:' #fdd8a9', | ||
+ | BB:' #fdd8a9', | ||
+ | BD:' #fdd8a9', | ||
+ | BE:' #fdd8a9', | ||
+ | BF:' #fdd8a9', | ||
+ | BG:' #fdd8a9', | ||
+ | BI:' #fdd8a9', | ||
+ | BJ:' #fdd8a9', | ||
+ | BN:' #fdd8a9', | ||
+ | BO:' #fdd8a9', | ||
+ | BR:' #fdd8a9', | ||
+ | BS:' #fdd8a9', | ||
+ | BT:' #fdd8a9', | ||
+ | BW:' #fdd8a9', | ||
+ | BY:' #fdd8a9', | ||
+ | BZ:' #fdd8a9', | ||
+ | CA:' #fdd8a9', | ||
+ | CD:' #fdd8a9', | ||
+ | CF:' #fdd8a9', | ||
+ | CG:' #fdd8a9', | ||
+ | CH:' #fdd8a9', | ||
+ | CI:' #fdd8a9', | ||
+ | CL:' #fdd8a9', | ||
+ | CM:' #fdd8a9', | ||
+ | CN:' #fdd8a9', | ||
+ | CO:' #fdd8a9', | ||
+ | CR:' #fdd8a9', | ||
+ | CU:' #fdd8a9', | ||
+ | CV:' #fdd8a9', | ||
+ | CY:' #fdd8a9', | ||
+ | CZ:' #fdd8a9', | ||
+ | DE:' #fdd8a9', | ||
+ | DJ:' #fdd8a9', | ||
+ | DK:' #fdd8a9', | ||
+ | DM:' #fdd8a9', | ||
+ | DO:' #fdd8a9', | ||
+ | DZ:' #fdd8a9', | ||
+ | EC:' #fdd8a9', | ||
+ | EE:' #fdd8a9', | ||
+ | EG:' #fdd8a9', | ||
+ | ER:' #fdd8a9', | ||
+ | ES:' #fdd8a9', | ||
+ | ET:' #fdd8a9', | ||
+ | FI:' #fdd8a9', | ||
+ | FJ:' #fdd8a9', | ||
+ | FK:' #fdd8a9', | ||
+ | FR:' #fdd8a9', | ||
+ | GA:' #fdd8a9', | ||
+ | GB:' #fdd8a9', | ||
+ | GD:' #fdd8a9', | ||
+ | GE:' #fdd8a9', | ||
+ | GF:' #fdd8a9', | ||
+ | GH:' #fdd8a9', | ||
+ | GL:' #fdd8a9', | ||
+ | GM:' #fdd8a9', | ||
+ | GN:' #fdd8a9', | ||
+ | GQ:' #fdd8a9', | ||
+ | GR:' #fdd8a9', | ||
+ | GT:' #fdd8a9', | ||
+ | GW:' #fdd8a9', | ||
+ | GY:' #fdd8a9', | ||
+ | HN:' #fdd8a9', | ||
+ | HR:' #fdd8a9', | ||
+ | HT:' #fdd8a9', | ||
+ | HU:' #fdd8a9', | ||
+ | ID:' #fdd8a9', | ||
+ | IE:' #fdd8a9', | ||
+ | IL:' #fdd8a9', | ||
+ | IN:' #fdd8a9', | ||
+ | IQ:' #fdd8a9', | ||
+ | IR:' #fdd8a9', | ||
+ | IS:' #fdd8a9', | ||
+ | IT:' #fdd8a9', | ||
+ | JM:' #fdd8a9', | ||
+ | JO:' #fdd8a9', | ||
+ | JP:' #fdd8a9', | ||
+ | KE:' #fdd8a9', | ||
+ | KG:' #fdd8a9', | ||
+ | KH:' #fdd8a9', | ||
+ | KM:' #fdd8a9', | ||
+ | KN:' #fdd8a9', | ||
+ | KP:' #fdd8a9', | ||
+ | KR:' #fdd8a9', | ||
+ | KW:' #fdd8a9', | ||
+ | KZ:' #fdd8a9', | ||
+ | LA:' #fdd8a9', | ||
+ | LB:' #fdd8a9', | ||
+ | LC:' #fdd8a9', | ||
+ | LK:' #fdd8a9', | ||
+ | LR:' #fdd8a9', | ||
+ | LS:' #fdd8a9', | ||
+ | LT:' #fdd8a9', | ||
+ | LV:' #fdd8a9', | ||
+ | LY:' #fdd8a9', | ||
+ | MA:' #fdd8a9', | ||
+ | MD:' #fdd8a9', | ||
+ | MG:' #fdd8a9', | ||
+ | MK:' #fdd8a9', | ||
+ | ML:' #fdd8a9', | ||
+ | MM:' #fdd8a9', | ||
+ | MN:' #fdd8a9', | ||
+ | MR:' #fdd8a9', | ||
+ | MT:' #fdd8a9', | ||
+ | MU:' #fdd8a9', | ||
+ | MV:' #fdd8a9', | ||
+ | MW:' #fdd8a9', | ||
+ | MX:' #fdd8a9', | ||
+ | MY:' #fdd8a9', | ||
+ | MZ:' #fdd8a9', | ||
+ | NA:' #fdd8a9', | ||
+ | NC:' #fdd8a9', | ||
+ | NE:' #fdd8a9', | ||
+ | NG:' #fdd8a9', | ||
+ | NI:' #fdd8a9', | ||
+ | NL:' #fdd8a9', | ||
+ | NO:' #fdd8a9', | ||
+ | NP:' #fdd8a9', | ||
+ | NZ:' #fdd8a9', | ||
+ | OM:' #fdd8a9', | ||
+ | PA:' #fdd8a9', | ||
+ | PE:' #fdd8a9', | ||
+ | PF:' #fdd8a9', | ||
+ | PG:' #fdd8a9', | ||
+ | PH:' #fdd8a9', | ||
+ | PK:' #fdd8a9', | ||
+ | PL:' #fdd8a9', | ||
+ | PT:' #fdd8a9', | ||
+ | PY:' #fdd8a9', | ||
+ | QA:' #fdd8a9', | ||
+ | RE:' #fdd8a9', | ||
+ | RO:' #fdd8a9', | ||
+ | RS:' #fdd8a9', | ||
+ | RU:' #fdd8a9', | ||
+ | RW:' #fdd8a9', | ||
+ | SA:' #fdd8a9', | ||
+ | SB:' #fdd8a9', | ||
+ | SC:' #fdd8a9', | ||
+ | SD:' #fdd8a9', | ||
+ | SE:' #fdd8a9', | ||
+ | SI:' #fdd8a9', | ||
+ | SK:' #fdd8a9', | ||
+ | SL:' #fdd8a9', | ||
+ | SN:' #fdd8a9', | ||
+ | SO:' #fdd8a9', | ||
+ | SR:' #fdd8a9', | ||
+ | ST:' #fdd8a9', | ||
+ | SV:' #fdd8a9', | ||
+ | SY:' #fdd8a9', | ||
+ | SZ:' #fdd8a9', | ||
+ | TD:' #fdd8a9', | ||
+ | TG:' #fdd8a9', | ||
+ | TH:' #fdd8a9', | ||
+ | TJ:' #fdd8a9', | ||
+ | TL:' #fdd8a9', | ||
+ | TM:' #fdd8a9', | ||
+ | TN:' #fdd8a9', | ||
+ | TR:' #fdd8a9', | ||
+ | TT:' #fdd8a9', | ||
+ | TW:' #fdd8a9', | ||
+ | TZ:' #fdd8a9', | ||
+ | UA:' #fdd8a9', | ||
+ | UG:' #fdd8a9', | ||
+ | US:' #fdd8a9', | ||
+ | UY:' #fdd8a9', | ||
+ | UZ:' #fdd8a9', | ||
+ | VE:' #fdd8a9', | ||
+ | VN:' #fdd8a9', | ||
+ | VU:' #fdd8a9', | ||
+ | YE:' #fdd8a9', | ||
+ | ZA:' #fdd8a9', | ||
+ | ZM:' #fdd8a9', | ||
+ | ZW:' #fdd8a9', | ||
+ | ME:' #fdd8a9', | ||
+ | XK:' #fdd8a9', | ||
+ | LU:' #fdd8a9', | ||
+ | } | ||
+ | }] | ||
+ | }, | ||
+ | onMarkerClick: function(e, code){ | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $("#"+code).offset().top | ||
+ | }, 0); | ||
+ | } | ||
+ | |||
+ | }); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 16:25, 26 August 2018