[thelist] ASP Problem - Pulling schedules items in a loop?

Jon Hughes hughesj at firemtn.com
Mon Jun 4 14:46:48 CDT 2007

What part of the code do you need?  That's all the relevant code, as far
as I can tell.

I don't want to do that, as I am a big advocate of separation between
presentation & markup and behavior & structure.

I'm thinking I might just have to write an if statement to see if
"imgSrc" has changed, do something else, but I still can't work that out
in my head.

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Matt Warden
Sent: Monday, June 04, 2007 12:32 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] ASP Problem - Pulling schedules items in a loop?

It's hard to answer because this is only part of the code. However,
one way (NOT the best way) would be to simply write out the values at
that point rather than stuffing them into variables.

For example:

if (date() >= StartDate and date() <= EndDate) or showall = "1" then
   response.write "<a href="""this.asp"""><img src="""this.jpg"""></a>"
end if

Matt Warden
Cleveland, OH, USA

More information about the thelist mailing list