Solved

How do I display MySQL data

Posted on 2008-06-23
4
208 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Code Manager | Snippits 2 59
Convert Silverlight ERP To Angularjs,HTML5 3 56
Saving Web Page as PDF 9 34
Print a <div></div> only 5 33
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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.

685 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