Adobe Dreamweaver Forums



Last 10 THreads :         Unable to create SWC in Flash CS4 (Last Post : nrajbhan - Replies : 1 - Views : 2 )           »          Flash CS4 External Lirbrary (Last Post : nrajbhan - Replies : 1 - Views : 2 )           »          Opening different Flash Galleries with differentlinks... (Last Post : Nancy O - Replies : 8 - Views : 9 )           »          Favicon for context-sensitive Help (WebHelp) (Last Post : LuckyClover - Replies : 5 - Views : 6 )           »          Re: Help authenticating installer (Last Post : scarletnew - Replies : 2 - Views : 5 )           »          unlinking shared assets (Last Post : dmodie - Replies : 0 - Views : 1 )           »          Spry Accordion Panel Default State All Closed? (Last Post : Steven_K - Replies : 2 - Views : 3 )           »          Re: export image in D11 (Last Post : Applied CD - Replies : 0 - Views : 1 )           »          Re: Adobe Capture?? (Last Post : CatBandit - Replies : 0 - Views : 1 )           »          catching errors from remotely invoked processes (Last Post : Cr99 - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Application Development
 
Tags: , , , , ,



Reply
  #1 (permalink)  
Old 07-22-2008, 07:15 PM
aonefun
 
Posts: n/a
Diggs:
Default asp code does not render for first record in loopedrecordset

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



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-22-2008, 07:50 PM
aonefun
 
Posts: n/a
Diggs:
Default Re: asp code does not render for first record in loopedrecordset

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.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:00 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk