Skip to content

Click Function #34

toton6868 opened this Issue Sep 13, 2012 · 1 comment

3 participants


Its a very easy question and I am not web professional. I need to create an Interactive Map. I am using JQVMap. Now I need to click region and it will callback an URL of the state. I am giving and function that was given as example in the site. But I dont know how to setup the link with State and URLs. Do I need to store the URLs in a JS and call from there? or I can put the URLs directly under region code. Any Sample code will be enough for me. Please let me know. It will be very helpful to me.


onRegionClick: function (event, code, region) {
window.location.replace("" + region.toLowerCase() + ". html");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.