Correction:  I just use insertRow() and deleteRow(), not innerHTML.  I have now 
tried this:

eval("if (!document.all." + table_name + ".rows[1]) {  my_new_row = 
document.all." + table_name + ".insertRow(1); } else {  my_new_row = 
document.all." + table_name + ".rows[1]; }");
eval("document.all." + table_name + ".rows[1].setAttribute('display','yes')");

for open and
eval("document.all." + table_name + ".rows[1].setAttribute('display','no')");

for close.  No JS errors, but this does not close the row, nothing happens.  A 
getAttribute check after this shows display is changed, but nothing is rendered 
to the screen.



>Have you tried
>.style.display = 'none' in javascript?  Instead of the .innerHTML
>
>----------------------------------
>William Seiter
>ColdFusion Web Developer / Consultant
>http://william.seiter.com
> 
>Free Website Trade Publication >> Website Magazine
>http://www.websitemagazine.com/referrals/?id=51344&f=text2
>Don't forget to answer the survey questions, it's a 10 second task ,
>a very small request  for access to this  incredible resource.
> 
>Have you ever read a book that changed your life?
>Go to: http://www.winninginthemargins.com
>Use PassKey: GoldenGrove
>You'll be glad you did.
> 
> 
>::-----Original Message-----
>::
>::Sent: Wednesday, July 16, 2008 6:13 AM
>::To: CF-Talk
>::Subject: cfwindow inside iframe issue
>::
>::
>::I'm using some nicely formated cfwindows as tool tip type popups inside
>::an iframe that is expandable/collapsable (tr.innerHTML=iframe or "").
>::When the user tries to collapse the iframe IE blows up. The expand,
>::rollover, and  mouseout events all act as they should. Is there a way to
>::more gracefully close the iframe before blanking the .innerHTML of the
>::tr that might keep this from happening? My guess is the parent being
>::wiped out causes a problem for the code rendered for the cfwindow, but I
>::really have no idea how CF implements this.
>::
>::Thanks
>::
>::
>:: 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309148
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to