View Full Version : Need help with Image Gallery

07-22-2005, 07:57 PM
I'm not sure exactly where would I put the codes on Myspace. Or does Myspace work?

This is what I'm trying to do

Image Effects:

I'm not sure where to put the url of my pictures..

please Help!

07-24-2005, 06:03 PM
It could be tricky with myspace. Can you put the script in the head of your page using myspace? If not, it may work OK at the very beginning of the body. If you don't know what those are, use Google to learn, they are important concepts for coding HTML with javascript. Basically, the head is where configuration goes and the body is for content. Here is where you put the urls of your pictures in the script (the large versions):

//Specify image paths and optional link (set link to "" for no link):
var dynimages=new Array()
dynimages[0]=["photo1.jpg", "http://www.cnn.com"]
dynimages[1]=["photo2.jpg", "http://www.yahoo.com"]
dynimages[2]=["photo3.jpg", "http://www.google.com"]The thumbnails go here (placed in the body as ordinary HTML, where you want them to appear):

<a href="#" onMouseover="modifyimage('dynloadarea', 0)"><img src="thumb1.jpg" border=0></a><br>
<a href="#" onMouseover="modifyimage('dynloadarea', 1)"><img src="thumb2.jpg" border=0></a><br>
<a href="#" onClick="return modifyimage('dynloadarea2', 2)"><img src="thumb3.jpg" border=0></a><p>though I am not sure that is the question you meant to ask.