hover, name |
![]() ![]() |
hover, name |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 58 Joined: Jul 2005 Member No: 188,530 ![]() |
is there a code, so that u hover a word, it shows a picture???
like this one....................hover over his "friend names"!!! http://profile.myspace.com/index.cfm?fusea...iendID=30632364 |
|
|
![]()
Post
#2
|
|
![]() Member ![]() ![]() Group: Member Posts: 16 Joined: May 2006 Member No: 408,354 ![]() |
Hey used something like this:
a:link span {display:none;} a:hover span {display: visible;} a:visited span {display:none;} he then linked them like so: <a href="url">Name of Friend <span><img src="url"></span></a> when you aren't hovering the link, the code inside the <span> tags aren't visible. *edit* found the actual code he used: a span{display:none;} a:hover span {display: block; position: relative top; top: 30px; left: 30px; width: 175px; padding: 5px; margin: 0px; z-index: 5; color: white; background: midnight blue;filter:none; font-size: 10px;font-family: arial, verdana, tahoma, sans-serif; text-align: center;text-decoration:none;} |
|
|
![]() ![]() |