Help - Search - Members - Calendar
Full Version: hover: replace image
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
aspartame_i
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

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
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
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
ok, thank you. i am assuming that this will not work for the profile image.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.