473,320 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

hot regions on image maps

is it possible to make hot regions on an image map change colours and if so how can i do it
Jul 30 '07 #1
10 1610
vituko
48
try gd or image magic
Jul 30 '07 #2
kovik
1,044 Expert 1GB
You could abandon the old ways of the image map and do it with links. For example, you have a large <div> (or another block element) with a 'position: relative' attribute. Then, you put the <img> into it regularly. Then, create all of the links and put them into the <div> that's holding the <img>, and give all of the links a 'position: absolute' attribute as well as a 'display: block' attribute.

From there, you can position and size all of the links, and you could make them partially transparent and change color if you wanted to. Or, if you're adventurous, give them a background image that would display on :hover, or put an <img> into the link and have that display on :hover.

Image maps are outdated.
Jul 30 '07 #3
how can i make hot regions on image maps change colour when there is a change in the database
Aug 2 '07 #4
code green
1,726 Expert 1GB
how can i make hot regions on image maps change colour when there is a change in the database
This doesn't make sense.
Who is changing the database?
What is your design?
Aug 2 '07 #5
kovik
1,044 Expert 1GB
how can i make hot regions on image maps change colour when there is a change in the database
You'd have to save the date of the change and check against it, I guess.
Aug 2 '07 #6
my question is how can i make hot regions of a map change colour. such that when i click on them a pop up form will enable me to enter data into the database after the data is entered the hot region should change colour to indicate that some data concerning that region has been entered in the database
This doesn't make sense.
Who is changing the database?
What is your design?
Aug 3 '07 #7
code green
1,726 Expert 1GB
The current colour of the region could be saved in the database along with the data.
Then when new data is added, UPDATE the region colour.
Then when the web page is displayed it will have to dynamically access the database to read the current colour.
The colour could be stored in RR,GG,BB format then the text could be dropped straight into a placeholder on the web page.
Does this fit in with your plan?
This seems the simplest way to go.
Aug 3 '07 #8
by this do you me i can assign each region a colour using the RR GG BB format without the colour being assigned to all regions on the map just as i am making the divisions of the map
Aug 4 '07 #9
what do you mean by a 'position: relative' attribute, a 'position: absolute' attribute as well as a 'display: block' attribute.
Aug 4 '07 #10
kovik
1,044 Expert 1GB
what do you mean by a 'position: relative' attribute, a 'position: absolute' attribute as well as a 'display: block' attribute.
That suggestion was made under the assumption that you were at least familiar with a little bit of advanced CSS. If you are not, you should look into it.
Aug 4 '07 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Stanimir Stamenkov | last post by:
I have this kind of construct: http://www.geocities.com/stanio/temp/usemap01.html (an IMG element using MAP described with AREA elements) I'm trying to make it more accessible and currently...
3
by: Mark Denardo | last post by:
Ok here's my problem: I have a large number of pages that each contain a large image that when a user mouses over a specific region of the image I need that section of it to show a new image...
6
by: David Stone | last post by:
I have a simple question about the alt content of area elements within an image map: is it redundant to include phrases such as "link to..." or "jump to..."? My initial thought is 'yes', since...
0
by: pipet2002 | last post by:
how can i make hot regions on an image map change colour when there is a change in condition in the database.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.