Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Banner Rotator
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rpainter
Junior Member

USA
153 Posts

Posted - 09 November 2003 :  10:53:21  Show Profile  Visit rpainter's Homepage
I downloaded the banner rotator from Ryan. When I put one banner in there , everything works fine. As soon as I try to put another one in, my pages either show no banner or both banners at the same time. I am running Snitz v. 3.4.03. Here is what my code looks like in banner.asp:

LowestNumber = 1
HighestNumber = 2
RandomNumber = INT((HighestNumber-LowestNumber+1)*Rnd+LowestNumber)
SELECT CASE RandomNumber
CASE "2"%>
<a href=http://www.christianjobs.com?affiliateid=80850><img src=http://www.christianjobs.com/showbanner.asp?banner=wwfc.jpg&affiliateid=80850 width=468 height=60 border=0></a>

<a href="http://our.affiliatetracking.net/christiandiscs/af.cgi?606"><img src=http://christiandiscs.com/pics/header.gif border=0></a>

Can anyone tell me what I am doing wrong? Thanks.

Rusty Painter
Learn to Cook REAL BBQ
SCBBQtalk.com
Monkey Boy's BBQ Sauce

Ryan
Average Member

USA
858 Posts

Posted - 10 November 2003 :  05:41:45  Show Profile  Visit Ryan's Homepage
Your entire code should look like this:
<%
'*****************************************************
'* Code written by Alexander Haneng (C) 1998-2001 *
'* FREE download from http://www.haneng.com/ *
'*****************************************************
'*****************************************************
'*Code modified by reducks87.
'*Download available at http://www.reducks87.ontheinter.net
'*****************************************************

RANDOMIZE
LowestNumber = 1
HighestNumber = 2
RandomNumber = INT((HighestNumber-LowestNumber+1)*Rnd+LowestNumber)
SELECT CASE RandomNumber
<%CASE "1"%>
<a href="http://our.affiliatetracking.net/christiandiscs/af.cgi?606"><img src=http://christiandiscs.com/pics/header.gif border=0></a>
<%CASE "2"%>
<a href=http://www.christianjobs.com?affiliateid=80850><img src=http://www.christianjobs.com/showbanner.asp?banner=wwfc.jpg&affiliateid=80850 width=468 height=60 border=0></a>
<%END SELECT%>

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07