Looking to replace a flash object that utilizes a single swf file (map of USA) and flash vars in the html for dynamically changing state colors. Hoping to use one file across multiple pages.
I've now designed an SVG file with each state having an ID name of its two-letter abbreviation. My goal is to import this using or , then utilize inline CSS on the HTML page to modify the SVG image and adjust certain fills.
Unfortunately, incorporating inline CSS within the SVG file or referencing an external CSS file from it won't allow me to achieve my objective of using one image file across various pages like the original swf.
After spending several days attempting different jQuery and JavaScript methods, I realize that my lack of proficiency in JavaScript is hindering my progress. Any advice or assistance would be greatly appreciated!