This is part of the code that does not work if the page is put in an iframe.  It 
works fine if it is just an included page.   If it should work I will just try some 
more variations.

<% 
Array string(31;$arrayCF;0)
Array string(31;$arrayFLCF;100)
Document List ("Macintosh HD:Fear:Web:files:"+get 
session("vSubject")+":Downloads";$arrayCF)  `can use get root
For ($h;1; size of array ($arrayCF)) 
$j:=1
$arrayFLCF{$h}:=""
For ($j;1; length($arrayCF{$h}))
if(substring($arrayCF{$h};$j;1)=" ")
$arrayFLCF{$h}:=$arrayFLCF{$h}+"%20"
else 
$arrayFLCF{$h}:=$arrayFLCF{$h}+substring($arrayFLCF{$h};$j;1)
end if
end for %>
<img src="Images/file_icon.gif" align="middle"> 
<% ="<a href=/Files/" + get session("vSubject") + "/Downloads/" + $arrayFLCF{$h} + ">" 
+ $arrayCF{$h} + "</a>" %>
<br>
<%      
End for %>

Reply via email to