need help before i throw my computer out the window, image rollovers as friend lists |
![]() ![]() |
need help before i throw my computer out the window, image rollovers as friend lists |
![]()
Post
#1
|
|
![]() Member ![]() ![]() Group: Member Posts: 19 Joined: Aug 2006 Member No: 448,574 ![]() |
ok i have been trying for 4 hours to work out this code... and usually im great at doing this stuff but for some reaon i cant get past this code. i wanna put my friends pics on my friends list on myspace..... when u go over them with ur mouse a nother pic comes up that saystheir name... i tried the codes in the scripts part but either im doing it wrong or something someone PLEASEEEEEEEEE help i love my laptop i dont wanna throw it out the window
|
|
|
*yrrnotelekktric* |
![]()
Post
#2
|
Guest ![]() |
can you post the code?
|
|
|
![]()
Post
#3
|
|
![]() Member ![]() ![]() Group: Member Posts: 19 Joined: Aug 2006 Member No: 448,574 ![]() |
it says its a CSS rollover
<style type="text/css"> .name{height: XXXpx; width: XXXpx; overflow: hidden; background: url(IMGE_URL_HERE) top left no-repeat; display: block;} .name:hover{background-position: bottom left;} </style> u type that in the about me than it says once you put the code in the your profile you put this code, where ever you want it to go <a href="URL_TO_A_LINK" class="NAME"></a> and heres two of the images i would be using ![]() ![]() help? |
|
|
![]()
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 307 Joined: Apr 2006 Member No: 393,086 ![]() |
you need to put the picture url where it says..then change the width and hieght..the height should be half of what the actual picture is...
|
|
|
![]()
Post
#5
|
|
![]() Member ![]() ![]() Group: Member Posts: 19 Joined: Aug 2006 Member No: 448,574 ![]() |
but what about in the code it says NAME... n bg url.. im putting like 20 of these up
|
|
|
*This Confession* |
![]()
Post
#6
|
Guest ![]() |
http://www.createblog.com/forums/index.php...=146481&hl=
you read that huh? k to do this make your code CODE <a href="LINK" class="friend"></a> <style type="text/css"> .friend{height: 184px; width: 163px; text-indent: 184px; overflow: hidden; background: url(URL TO PIC) top left no-repeat; display: block;} .friend:hover{background-position: bottom left;} </style> Change the height and width to the same as one of the pictures. Don't change the friend names because thats how you keep it all to work. at the top where it says LINK - change that to the link you want the picture to be the URL TO PIC - change that to the url for the picture.. go upload it at imageshack.us |
|
|
![]()
Post
#7
|
|
![]() Member ![]() ![]() Group: Member Posts: 19 Joined: Aug 2006 Member No: 448,574 ![]() |
CODE <a href="LINK" class="friend"></a> <style type="text/css"> .friend{height: 184px; width: 163px; text-indent: 184px; overflow: hidden; background: url(URL TO PIC) top left no-repeat; display: block;} .friend:hover{background-position: bottom left;} </style> ok thats were i get mixxed up... i see where u have the URL TO PIC but what if i have more than one url PER person do i have to write this code 20 times if i have 20 ppl on my top well people? and than put it down where my friends should be |
|
|
*This Confession* |
![]()
Post
#8
|
Guest ![]() |
yep
that code is only for person you can make a image go to two different places. so for each person you have to have that code once for them. |
|
|
![]()
Post
#9
|
|
![]() Member ![]() ![]() Group: Member Posts: 19 Joined: Aug 2006 Member No: 448,574 ![]() |
n i put it where i put my friends rite? in the about me section
|
|
|
*This Confession* |
![]()
Post
#10
|
Guest ![]() |
if you want it in your about me section then yea it can go there.
doesn't matter where you put it |
|
|
![]()
Post
#11
|
|
![]() Member ![]() ![]() Group: Member Posts: 19 Joined: Aug 2006 Member No: 448,574 ![]() |
ok i got a problem... i put the code in which looks like this
CODE <a href="LINK" class="friend"></a><style type="text/css"> .friend{height: 82px; width: 70px; text-indent: 184px; overflow: hidden; background: url(http://img325.imageshack.us/img325/2595/megzzg5.jpg) top left no-repeat; display: block;} .friend:hover{background-position: bottom left;} </style><a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=49059787" class="friend"></a><style type="text/css"> .friend{height: 82px; width: 70px; text-indent: 184px; overflow: hidden; background: url(http://img325.imageshack.us/img325/6264/brianrl5.jpg) top left no-repeat; display: block;} .friend:hover{background-position: bottom left;} </style><a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=96394092" class="friend"></a> < style type="text/css"> .friend{height: 82px; width: 70px; text-indent: 184px; overflow: hidden; background: url(http://img325.imageshack.us/img325/1368/ssap8.jpg) top left no-repeat; display: block;} .friend:hover{background-position: bottom left;} </style><a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=31770936" class="friend"></a> but everytime i do this the LAST person i put in is the same person for all 3 |
|
|
*This Confession* |
![]()
Post
#12
|
Guest ![]() |
okay
now your code should be changed to this sorry i forgot to mention this. I forget that I'm dealing with people that don't know as much as I do, sorry. change your code to this CODE <a href="LINK" class="friend"></a><style type="text/css"> .friend{height: 82px; width: 70px; text-indent: 184px; overflow: hidden; background: url(http://img325.imageshack.us/img325/2595/megzzg5.jpg) top left no-repeat; display: block;} .friend:hover{background-position: bottom left;} </style> <a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=49059787" class="friend1"></a> <style type="text/css"> .friend1{height: 82px; width: 70px; text-indent: 184px; overflow: hidden; background: url(http://img325.imageshack.us/img325/6264/brianrl5.jpg) top left no-repeat; display: block;} .friend1:hover{background-position: bottom left;} </style> <a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=96394092" class="friend2"></a> <style type="text/css"> .friend2{height: 82px; width: 70px; text-indent: 184px; overflow: hidden; background: url(http://img325.imageshack.us/img325/1368/ssap8.jpg) top left no-repeat; display: block;} .friend2:hover{background-position: bottom left;} </style> Notice how each one of them has a different name such as the first one is just friend the second one is friend1 and the third has friend2 |
|
|
![]()
Post
#13
|
|
![]() Member ![]() ![]() Group: Member Posts: 19 Joined: Aug 2006 Member No: 448,574 ![]() |
ok ive done everything everyones so nicely told me i give up can someone do it for me lol prettty please with cherrys on top
|
|
|
*This Confession* |
![]()
Post
#14
|
Guest ![]() |
Contact me on Aim
Holly Infinite I'll do it for you and explain it all so you can understand it as well ![]() |
|
|
![]()
Post
#15
|
|
![]() Member ![]() ![]() Group: Member Posts: 19 Joined: Aug 2006 Member No: 448,574 ![]() |
p1ayboybunnyxx is mine if ur confused
|
|
|
*This Confession* |
![]()
Post
#16
|
Guest ![]() |
Well I helped her on aim
Problem is solved made a image to explain it and all topic closed. |
|
|
![]() ![]() |