Michael
This list is a superb resource and there is support here for all levels of experience - something I've found useful in the past! In my experience the randomness of the <@RANDOM> tag is not infinite - some images do seem to come up more than others! If you want to "weight" occurence, influence it or control it then you might want to use something other that straight <@RANDOM> A Domain Scope Array of ads that you rotate through might be a good idea - each page view would pull the next ad off the top of the Array I'd also have a close look at how MGI implement their banner rotation and try and reverse-engineer that in Witango. >First off I wanted to thank everyone for there support. You are all a huge >help being that I just started looking at tango on Friday and as of today I >have something that is actually working. Does the @random function make the >images rotate at an even amount or is it totally random like the random >function of javascript, where the same picture can show up twice in a row >and not an even amount. >Just to show you what I am working on check out > >http://action2.edudirectories.com/sab_tango/test/collegeabroad.taf > >If you refresh a couple times you can see the ads rotate now. > >Again I would like to thank everyone for their help. > >Sincerely > >Michael Dittbrenner > >On 3/18/03 11:41 AM, "Nicholas Froome" <[EMAIL PROTECTED]> wrote: > >> I second the suggestion to use Witango to rotate the banners. It'd make >> everything simpler - development, imnplementation, logging, etc. It'd also be >> a great way to learn the ins & outs of Witango >> >> I use the @RANDOM tag to display random header images like this: >> >> <img src=/wide/<@RANDOM LOW=1 HIGH=@@Domain$WideNumber>.jpg WIDTH=484 >> HEIGHT=68 BORDER=0 ALIGN=top> >> >> There's nothing particularly clever about this - except that the HIGH number >> (in other words the number of Random images) is held in a Domain Scope >> variable. As this randow header code appears in 50 or 60 TAFs, changing the >> number of images would be a big job - so I store the number in a variable that >> can easily be changed site-wide >> >> To me this is classic Witango elegance and you'd lose this kind of integration >> by using another advert rotation scheme >> >> Of course you can also <@INCLUDE> Witango variables into poages - and these >> might contain Nav bars, sidebars, logos, etc >> >> >> >>> You will need to use the @URL tag rather than the >>> @include tag. The web server will only process one >>> cgi program per page. That cgi program would be >>> Witango in this case. It would ignore your mgi code. >>> >>> However, the @URL tag would work fine but be a >>> little slower since it has to resolve the URL twice >>> per page. An alternative would be to use Witango >>> to rotate your banners. :) >> >> >> >> ________________________________________________________________________ >> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] >> with unsubscribe witango-talk in the message body > > >________________________________________________________________________ >TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
