Do you know of a javascript function I can use for this since
mine appears to be beyond salvage. I am just lost..someone pointed
me to this page to see if I can see what they're doing, but I was
unable to strip it down to see what they're doing differently:
http://www.taxidrivermovie.com/archives/archives.php.
Here is the javascript, possibly can you see what may be wrong with
it? I have looked it over no less than a hundred times, and see
nothing that would cause the problems I am having.
Thanks so much, and by the way, I own more than a few of your
books!
Sincerely-
Charles Carter
<![CDATA[
function showThumbnail(which,e)
{
var thumb=document.getElementById("thumb");
if( thumb && thumb.style.visibility == 'hidden' )
{
var lLeft=0;
var lTop=0;
if (e.pageX){
// Mozilla
lLeft=pageXOffset + e.clientX + 20;
lTop=pageYOffset + e.clientY;
} else {
// IE
lLeft=document.body.scrollLeft + e.x + 20;
lTop=document.body.scrollTop + e.y;
}
thumb.style.left=lLeft+'px';
thumb.style.top=lTop+'px';
thumb.style.visibility = 'visible';
thumb.innerHTML = '<IMG SRC="' + unescape(which) +
'">';
}
}
function closeThumbnail()
{
var thumb=document.getElementById('thumb');
if(thumb) thumb.style.visibility = 'hidden';
}
]]>