Log In · Register

 
 
Closed TopicStart new topic
hover: replace image
aspartame_i
post Jun 14 2005, 11:55 AM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Jun 2005
Member No: 153,029



I found this code to replace images upon hover

http://www.createblog.com/forums/index.php?showtopic=15520

which states that



Unfortunately, I found this code to be useless; although, admittedly, possibly due to my error. I'm not sure what the pixel values indicated represent. Is it the size of the original image, the original size of the replacing image, etc. Does anyone know how I can make this code work, or if there is another one which I can use?
 
Pulchritude
post Jun 14 2005, 12:00 PM
Post #2


Tu es laid.
*******

Group: Official Member
Posts: 3,772
Joined: Feb 2005
Member No: 106,675




what do you mean you don't get the pixels? you have to set the width and height of the image also. did you set the height and width of the picture?
 
aspartame_i
post Jun 14 2005, 02:08 PM
Post #3


Newbie
*

Group: Member
Posts: 3
Joined: Jun 2005
Member No: 153,029



yes. my original image was 170 x 181; the second image is 864x1200. i put 170 x 181 in the input field. it didnt work.
 
talcumpowder
post Jun 14 2005, 07:26 PM
Post #4


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,336
Joined: Mar 2005
Member No: 114,010



It helps a lot of the images are the same size but... You use the dimensions of the second image.
edit// It works, this is what it should look like... Sorta.
[ http://www.xanga.com/home.aspx?user=nyah_tests ]
 
aspartame_i
post Jun 15 2005, 10:24 AM
Post #5


Newbie
*

Group: Member
Posts: 3
Joined: Jun 2005
Member No: 153,029



ok, thank you. i am assuming that this will not work for the profile image.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: