Solved

How do I display MySQL data

Posted on 2008-06-23
4
207 Views
Last Modified: 2013-11-19
I need to show a picture of a map and when the user rolls over a state (there are only 4 states) the state is highlighted and a small piece of text appears with the number of representatives in that state. I need suggestions on the best way to do it. Flash, Flex, HTML and CSS, Php or may be something else. I am looking for the fastest download - it is very small piece.

http://psuite.acemotoracceptance.com/www/v2/index.html

I know it can be done with image maps, CSS hovers and MySQL but the image for the backgrounds (using one and moving it around with CSS) is 32KB - since our target audience will have dial up (most likely) I would prefer that it was smaller.
0
Comment
Question by:ron-ccs
  • 3
4 Comments
 
LVL 24

Expert Comment

by:mankowitz
ID: 21851943
If you are really concerned about space, you can take one of your images and make the hover a two-color gif (one color, one transparent). Those tend to be very small filesizes. You will have to make one for each map hover, though.
0
 
LVL 24

Expert Comment

by:mankowitz
ID: 21851960
Here is a more elegant solution http://www.frankmanno.com/ideas/css-imagemap/
0
 
LVL 24

Accepted Solution

by:
mankowitz earned 500 total points
ID: 21851970
And here's one with geographical maps: http://www.tankedup-imaging.com/css_dev/rollover.html
0
 

Author Closing Comment

by:ron-ccs
ID: 31469964
mankowitz,
Thank you for your response - I got in this morning and my boss wants it in flash and we have figured it out. I appreciate the effort
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to count occurrences of each item in an array.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question