T
Treetop
The following code sets up the list of links. I want to be able to
click on the link with the link title, and display the image and the
image title on the same screen. I am willing to use iframe, frames, or
whatever works the best.
var links=new Array();
links[2]=new Array("picture2.jpg","Pic 2 link title","Pic 2 image
title");
links[1]=new Array("picture1.jpg","Pic 1 link title","Pic 1 image
title");
// and so on ...
for (var i=links.length-1;i>=0;i--)
{
document.write('<a href="' + links[0] + '">' + links[1] +
'</a><br>');
}
click on the link with the link title, and display the image and the
image title on the same screen. I am willing to use iframe, frames, or
whatever works the best.
var links=new Array();
links[2]=new Array("picture2.jpg","Pic 2 link title","Pic 2 image
title");
links[1]=new Array("picture1.jpg","Pic 1 link title","Pic 1 image
title");
// and so on ...
for (var i=links.length-1;i>=0;i--)
{
document.write('<a href="' + links[0] + '">' + links[1] +
'</a><br>');
}