Image Mapping Advanced, How do I create a(n) hover effect on my Image Map ? |
Image Mapping Advanced, How do I create a(n) hover effect on my Image Map ? |
Apr 21 2008, 08:00 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Jun 2007 Member No: 532,378 |
I have a simple inquiery. How do I create an alternate rollover image over my image map.
For Example: http://www.createblog.com/layouts/preview.php?id=26566 In this simple layout done by MissMaybe, When you hover over the links on the right, a light blue scribble appears over it. I would like to know how exactly how you do that on Paint Shop Pro XI I'd greatly appreciate any help regaurding this topic. Thanks. |
|
|
|
![]() |
Apr 21 2008, 11:27 PM
Post
#2
|
|
![]() sang loves hayden. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,373 Joined: Feb 2004 Member No: 5,687 |
There is a couple mistakes.
CODE a.home { display:block; height:44px; width:125px; overflow:hidden; background-image:url ('http://img.photobucket.com/albums/v404/swtxlilxwinter/Home.png'); background-position:top center; background-repeat:no-repeat;} a.home:hover { background-image:url (' http://img.photobucket.com/albums/v404/swt...Home.png'); background-position:top center; display:block; height:44px; width:250px; background-repeat:no-repeat;} The first image link, that's suppose to be the main image link ONLY (meaning the original image map), not the hover image link on the bottom. Just take that URL on the first one, and put it on the hover part like this (Make sure the original is the same exact size, (height: 44px, width 125px): CODE a.home { display:block; height:44px; width:125px; overflow:hidden; background-image:url ('URL LINK OF ORIGINAL IMAGE LINK'); background-position:top center; background-repeat:no-repeat;} a.home:hover { background-image:url ('http://img.photobucket.com/albums/v404/swtxlilxwinter/Home.png'); background-position:top center; display:block; height:44px; width:250px; background-repeat:no-repeat;} Now you would have to put the links in as follows: CODE <a href="LINK HERE" class="home"></a> Everytime you name the image hovers, make sure the classes match, like what miyashu said. |
|
|
|
xxNinaMilla Image Mapping Advanced Apr 21 2008, 08:00 PM
xxNinaMilla All right, This is my layout : http://img.photobuc... Apr 21 2008, 09:15 PM
Relentless ^ That is correct. Although, your suppose to have ... Apr 21 2008, 09:21 PM
xxNinaMilla Okay, so I separated all the links,
Now what ? Apr 21 2008, 09:48 PM
xxNinaMilla http://img.photobucket.com/albums/v404/swt...er/Co... Apr 21 2008, 09:56 PM
miyashu that's right. you'll need to repeat the co... Apr 21 2008, 10:27 PM
xxNinaMilla I odn't understand.
am I supposed to substitut... Apr 21 2008, 10:44 PM
xxNinaMilla CODE<style>
div div select, div div form {di... Apr 21 2008, 11:52 PM
Relentless http://img.photobucket.com/albums/v404/swt...nter/... Apr 22 2008, 01:08 AM
xxNinaMilla Oh. I get it.
Thanks that helped me out alot. Apr 22 2008, 03:26 PM
Insurmountable Topic closed, if you need this re-opened within th... Apr 22 2008, 03:45 PM![]() ![]() |