Hey, I have an image map setup with several "onmouseover" javascript commands that activate pop up menus. The thing is, these menus will be added to quite often and already my javascript header is getting massive. Is there a way to setup a database file so that on a mouseover on a certain area, it'll bring up values from a database to populate the menu(s) with?
Here's what I have: http://www.brianellisrules.com/stickers/
Each of the towns listed for a particular state are all listed in the header portion of the page. It's getting pretty bulky. What I'd like to do is have a database file with all the info that the script will access to bring up the values.
Is there a downside to using a database (if possible) for this? If so, is there a better way?
Thanks!
Here's what I have: http://www.brianellisrules.com/stickers/
Each of the towns listed for a particular state are all listed in the header portion of the page. It's getting pretty bulky. What I'd like to do is have a database file with all the info that the script will access to bring up the values.
Is there a downside to using a database (if possible) for this? If so, is there a better way?
Thanks!