![]() |
![]() |
||||||
|
|||||||
| Tags: asp, code, first, loopedrecordset, record, render |
![]() |
|
|||
|
I have posted this question on a javascript forum as it contains javascript
code however it was believed to be an asp issue. The following head section javascript code contains the function showBigImage( isource,bigImage,header ) function call of discussion: 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; The following rendered looped recordset code illustrates how the "header" parameter of this showBigImage( isource,bigImage,header ) function call does not render ONLY FOR THE FIRST RECORD OF THE RECORDSET as it is blank: <a href= "javascript:;" > <td height=36 valign="middle" class="small_img" onmouseover="showBigImage( 'imagescript.asp?path=images/portable_stage.jpg&wi dth=250','images/portable_stag e.jpg','' )"> <img src="imagescript.asp?path=images/portable_stage.jp g&width=36" border="0" alt="" /> </td> </a> <a href= "javascript:;" > <td height=36 valign="middle" class="small_img" onmouseover="showBigImage( 'imagescript.asp?path=images/seated_riserset.jpg&w idth=250','images/seated_riser set.jpg','Portable stage configuration using 9 units of the 3 ft x 8 ft platforms in 3 different heights' )"> <img src="imagescript.asp?path=images/seated_riserset.j pg&width=36" border="0" alt="" /> </td> </a> <a href= "javascript:;" > <td height=36 valign="middle" class="small_img" onmouseover="showBigImage( 'imagescript.asp?path=images/Stageset.jpg&width=25 0','images/Stageset.jpg','Port able stage configuration using 16 units of the 4 ft x 8 ft platforms' )"> <img src="imagescript.asp?path=images/Stageset.jpg&widt h=36" border="0" alt="" /> </td> </a> <a href= "javascript:;" > <td height=36 valign="middle" class="small_img" onmouseover="showBigImage( 'imagescript.asp?path=images/Runset.jpg&width=250' ,'images/Runset.jpg','Portable stage runset configuration' )"> <img src="imagescript.asp?path=images/Runset.jpg&width= 36" border="0" alt="" /> </td> </a> Because of this problem, the caption text does not display for this first records once the thumbnail images are moused over. You can view this page example at http://www.canchair.com/new_web_prod...roductFamily=1 &ProductFamilySub=10 |
| Sponsored Links |
|
|||
|
the page i linked to contains all the images of discussion.
the thumbnail images that when moused over cause the larger image above it to change accordingly. It is the larger image that concerns me. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise