Solved

How do I display MySQL data

Posted on 2008-06-23
4
201 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
Comment Utility
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
Comment Utility
Here is a more elegant solution http://www.frankmanno.com/ideas/css-imagemap/
0
 
LVL 24

Accepted Solution

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

Author Closing Comment

by:ron-ccs
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now