Hi to all the experts,
I have two frames.The first one has thumbnails. I have managed to get the second frame to change to the larger picture with the "onmouseover" event (JS). So far, ok.
The JS script looks like this:
function rollIt(whichPic)
{
top.picframe.document.images.pic1.src = whichPic;
}
The parameter passed (whichPic) is something like this "\pics\pic1.jpg".
I would like to change some text next to the large picture with some data from a database. The sql key is the picture name (pic1).
When and where do I perform the sql (select details where picname="pic1.jpg") and how and where do I update the text?
Thanks for your help,
Laurence
I have two frames.The first one has thumbnails. I have managed to get the second frame to change to the larger picture with the "onmouseover" event (JS). So far, ok.
The JS script looks like this:
function rollIt(whichPic)
{
top.picframe.document.images.pic1.src = whichPic;
}
The parameter passed (whichPic) is something like this "\pics\pic1.jpg".
I would like to change some text next to the large picture with some data from a database. The sql key is the picture name (pic1).
When and where do I perform the sql (select details where picname="pic1.jpg") and how and where do I update the text?
Thanks for your help,
Laurence