THE FOLLOWING JAVASCRIPT FUNCTION RENDERS PROPERLY FOR ALL IMAGES OF A RECORSET EXCEPT FOR THE FIRST ONE.
FOLLOWING CODE BLOCK ILLUSTRATES HOW THE ASP TEXT IS NOT RENDERED IN THE FUCTION CALL CODE OF FIRST IMAGE AS IT IS MISSING. NOTE HOW TEXT IS NOT MISSING BY ALL OTHER IMAGES :
HEAD SECTION CODE:
PAGE EXAMPLE OF DISCUSSION CAN BE VIEWED AT:
What is causing this to happen?
Code:
<a href="javascript:;" onclick="MM_openBrWindow('/large_image.asp?url_image=images/portable_stage.jpg','imagewindow','width=600,height=600')"><img src="imagescript.asp?path=images/portable_stage.jpg&Width=250" name="largeimage" border="0" id="largeimage" alt=""/></a>
Code:
<a href= "javascript:;" >
<img src="imagescript.asp?path=images/portable_stage.jpg&width=36" border="0" onmouseover="showBigImage( 'imagescript.asp?path=images/portable_stage.jpg&Width=250','images/portable_stage.jpg','' )" alt="" class="small_img" /></a>
<a href= "javascript:;" >
<img src="imagescript.asp?path=images/seated_riserset.jpg&width=36" border="0" onmouseover="showBigImage( 'imagescript.asp?path=images/seated_riserset.jpg&Width=250','images/seated_riserset.jpg','Portable stage configuration using 9 units of the 3 ft x 8 ft platforms in 3 different heights' )" alt="" class="small_img" /></a>
<a href= "javascript:;" >
<img src="imagescript.asp?path=images/Stageset.jpg&width=36" border="0" onmouseover="showBigImage( 'imagescript.asp?path=images/Stageset.jpg&Width=250','images/Stageset.jpg','Portable stage configuration using 16 units of the 4 ft x 8 ft platforms' )" alt="" class="small_img" /></a>
HEAD SECTION CODE:
Code:
var currentImage;
function showBigImage( isource,bigImage,header ) {
var theImage = document.getElementById( 'largeimage' );
theImage.src = isource;
currentImage = bigImage;
document.getElementById('photoHeader').innerHTML=header;
document.getElementById( 'largeimage' ).alt=header;
}
PAGE EXAMPLE OF DISCUSSION CAN BE VIEWED AT:
What is causing this to happen?