Rotating banners

2002-03-05 Thread Elizabeth Walter
Hello- I am developing a banner rotating tool and need some ideas on how to best handle a requirement. I have gotten the tool to a point where it displays banners randomly- no problem. Now what I need to do is give certain banners more "weight" than others: some banners need to be displayed mo

Re: Rotating banners

2002-03-05 Thread savan . thongvanh
actually like to see a cleaner way of doing but th at works. Savan Elizabeth Walter <[EMAIL PROTECTED]> on 03/05/2002 12:14:29 PM Please respond to [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> cc: Subject: Rotating banners Hello- I am developing a banner rotating to

RE: Rotating banners

2002-03-05 Thread Elizabeth Walter
Gotcha. Interesting solution- I wouldn't have thought to do it that way. I'll give it a shot! Thanks a lot, Elizabeth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 1:29 PM To: CF-Talk Subject: Re: Rotating banners i&#x

Re: Rotating banners

2002-03-05 Thread BEN MORRIS
I would think that you would loop through your query, and build a list. For each query record, loop from 1 to the weight value, and add the bannerID to the a list called bannerIDList for each nested loop. This way if you have one banner with bannerID=301 and weight=2, and a second banner wit

RE: Rotating banners

2002-03-05 Thread Shawn Grover
e never had to worry about rotating banners - but I'm normally good at finding holes in solutions (sorry Ben). Shawn Grover -Original Message- From: BEN MORRIS [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 11:35 AM To: CF-Talk Subject: Re: Rotating banners I would think tha

RE: Rotating banners

2002-03-06 Thread Kevan . Windle
imation and the application variable might access might not be a problem. -Original Message- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: 05 March 2002 19:03 To: CF-Talk Subject: RE: Rotating banners I don't think this will work well Yes, you have listed the banner ID's

RE: Rotating banners

2002-03-06 Thread Shawn Grover
ollow the list's guidance on this topic. My $0.25 worth. Shawn Grover -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 3:10 AM To: CF-Talk Subject: RE: Rotating banners It all depends really on the level of traffic on the site.