Hi,
The following code works fine in I.E (plz
test in whatever browser u need to support)
[CODE]
function opnImg(imgname)
{
// Since the WINDOW NAME is the same
// Each picture would open in the same window
// Hence the back and forward button can be used(unless the window
// is closed each time)
window.open(imgname,"WINDOWNAME");
}
Have your thumbnail pictures in the "body" tag
use the onclick attribute as below :
Use the following attribute in your "img" tag
"onClick" attributes value -javascript
pnImg('yourimagename.jpg'); Hope this helps
Regards
Balaji