the "ALT" text is not shown when mouseover image:
[tt]newWindow.document.write('<img src="'+imageName+'" width='+imageWidth+' height='+imageHeight+' alt="Click to close" >');[/tt]
Is it possible add "title" attribute to show text on mouseover? i.e.
[tt]
newWindow.document.write('<img src="'+imageName+'" width='+imageWidth+' height='+imageHeight+' title="Click to close" alt="Click to close" >');[/tt]
also, how to add loading.gif to show it when image loads?
[tt]newWindow.document.write('<img src="'+imageName+'" width='+imageWidth+' height='+imageHeight+' alt="Click to close" >');[/tt]
Is it possible add "title" attribute to show text on mouseover? i.e.
[tt]
newWindow.document.write('<img src="'+imageName+'" width='+imageWidth+' height='+imageHeight+' title="Click to close" alt="Click to close" >');[/tt]
Code:
{
newWindow = window.open("vwd_justso.htm","newWindow","width="+scrWidth+",height="+scrHeight+",left="+posLeft+",top="+posTop);
newWindow.document.open();
newWindow.document.write('<html><title>'+alt+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor='+bgcolor+' onBlur="self.close()" onClick="self.close()">');
newWindow.document.write('<table width='+imageWidth+' border="0" cellspacing="0" cellpadding="0" align="center" height='+scrHeight+' ><tr><td>');
newWindow.document.write('<img src="'+imageName+'" width='+imageWidth+' height='+imageHeight+' alt="Click screen to close" >');
newWindow.document.write('</td></tr></table></body></html>');
newWindow.document.close();
newWindow.focus();
}