Have you tried something like:

bg = false
for each file in cilecollection
  bg = not bg
  if bg then
    bgcolour = whatever
  else
    bgcolour = somethingelse
  endif

... response.write your html ...

next


Andy



>From: "Rob" <[EMAIL PROTECTED]>
>Reply-To: AspClassicAnyQuestionIsOk@yahoogroups.com
>To: AspClassicAnyQuestionIsOk@yahoogroups.com
>Subject: [AspClassicAnyQuestionIsOk] File Objects as links in a table with 
>alternating background fill colors
>Date: Thu, 15 Sep 2005 21:34:17 -0000
>
>I am trying to create an .ASP page that will create links based on
>files in a specified directory and create the links in a table with
>alternating background color fills.
>
>I have been able to use and modify some sample scripts to get my
>links from the directory with the file name as a link, displaying
>the file size and modified date as I need but I am not able to
>display them with background alternating fills.
>
>I am fairly new to ASP but I figure I need to somehow setup some
>type of Do/Loop script.
>
>Does anyone know of any sample code available that does what I am
>describing? If not, am I on the right track with the Do/Loop section?
>
>Also, is it possible to get information from a PDF file such as the
>file description in ASP? I want the automatically listed files to
>have a description of the file without having to include the file
>description in the name.
>
>Best Regards,
>Rob

_________________________________________________________________
Free blogging with MSN Spaces  http://spaces.msn.com/?mkt=nl-be



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to