Image Mapping. |
Image Mapping. |
![]()
Post
#1
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
I know how to image map on GIMP but I don't understand how you would go about making different colors on the links like on Atomic Affliction (btw, nice job!).
How do you do that? |
|
|
![]() |
![]()
Post
#2
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 ![]() |
It's so simple.
You just take two images, put them together, and set the combined image as a background image on a link class. The hover class would be the one where you put the rollover image part of the combined image and the regular class is the normal image part of the combined image. You put the regular on top of the rollover one so then when you rollover, it shows the bottom part of the image. You take half the height of the combined image so that it only shows either the top half or the bottom half. As so: CODE .LINK_CLASS_NAME {display:block; width:???px; height:HALF_OF_YOUR_COMBINED_IMAGE_HEIGHTpx; background-image: url("COMBINED_IMAGE_URL"); background-repeat:none; background-position:top left;} .LINK_CLASS_NAME:hover {display:block; width:???px; height:HALF_OF_YOUR_COMBINED_IMAGE_HEIGHTpx; background-image: url("COMBINED_IMAGE_URL"); background-repeat:none; background-position:bottom left;} If you observe it carefully, you can see how it would work out. |
|
|
![]()
Post
#3
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
It's so simple. You just take two images, put them together, and set the combined image as a background image on a link class. The hover class would be the one where you put the rollover image part of the combined image and the regular class is the normal image part of the combined image. You put the regular on top of the rollover one so then when you rollover, it shows the bottom part of the image. You take half the height of the combined image so that it only shows either the top half or the bottom half. What is the "combined image"? Is it the image of the text itself or is it the whole background image? |
|
|
![]()
Post
#4
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 ![]() |
|
|
|
![]()
Post
#5
|
|
![]() Irrisistable Cabbages. ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 549 Joined: Nov 2007 Member No: 589,355 ![]() |
|
|
|
![]() ![]() |