- $('#map').usmap({
- // The click action
- click: function(event, data) {
- $('#clicked-state')
- .load("states/"+data.name".html");
- }
- });
Which don't even work, because after the +data.name, its expecting that function to be closed, not have a ".html" then close, but, even if that worked, I would have to have 50 different html files, named <StateAbbr>.html (ie. TN.html, VA.html, you get the point), and, don't get me wrong, I am okay with that, but its not efficient, and its not professional...
The code above doesn't even load the map, but I know the map loads, because with "the click action" function removed, the map loads, and its interactive, it just don't do anything when you click the states..
So, any help anyone can offer, please, offer away. If it goes to me needing to absolutley use php, a jumpstart would be nice, lol...