Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I display MySQL data

Posted on 2008-06-23
4
Medium Priority
?
213 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 2000 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video teaches users how to migrate an existing Wordpress website to a new domain.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

782 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