Author |
Topic |
techknow
Junior Member
USA
149 Posts |
Posted - 18 September 2003 : 19:03:21
|
I am implementing my first mod... The banners. It is not going as planned unfortunately.
Any ideas? |
Best Regards, Techknow http://myinternetfunnies.com |
|
techknow
Junior Member
USA
149 Posts |
|
techknow
Junior Member
USA
149 Posts |
Posted - 18 September 2003 : 20:06:53
|
That's odd. I noticed that when I click on the link then no banners are displayed on the page. When I hit refresh they display incorrectly???
Proof that I am not a programmer... Here's my code:
RANDOMIZE LowestNumber = 1 HighestNumber = 2 RandomNumber = INT((HighestNumber-LowestNumber+1)*Rnd+LowestNumber) SELECT CASE RandomNumber CASE "1"%> <A HREF="http://atkweb.com"><IMG SRC="http://cpkweb.com/boards/Banners/atk04.gif" BORDER=0></A> CASE "2"%> <A HREF="http://torkgym.com"><IMG SRC="http://cpkweb.com/boards/Banners/CHROME01.gif" BORDER=0></A> <%END SELECT%>
I noticed that the CASE "2" does not turn blue like the other "code" words...
Thanks in advance!!! |
Best Regards, Techknow http://myinternetfunnies.com |
|
|
techknow
Junior Member
USA
149 Posts |
Posted - 18 September 2003 : 20:15:56
|
If somebody (anybody) could give me a sample of how the banner.asp code is supposed to look I will be your best friend!!!
|
Best Regards, Techknow http://myinternetfunnies.com |
|
|
techknow
Junior Member
USA
149 Posts |
Posted - 18 September 2003 : 20:20:49
|
WAAAAAAAA!
|
Best Regards, Techknow http://myinternetfunnies.com |
Edited by - techknow on 18 September 2003 20:30:59 |
|
|
techknow
Junior Member
USA
149 Posts |
Posted - 18 September 2003 : 20:32:22
|
Maybe I'll get lucky and the ASP fairy will come to my house tonight and make me a guru...
Then again, maybe it's best that she doesn't... Might scare the kids |
Best Regards, Techknow http://myinternetfunnies.com |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 18 September 2003 : 20:40:15
|
on the line where you have Case 2:
CASE "2"%>
it should look like this:
<% CASE "2" %> |
|
|
techknow
Junior Member
USA
149 Posts |
Posted - 18 September 2003 : 20:52:39
|
I knew it!!!
I am still flummexed. Now they both are displayed. (Please refer to my earlier WAAAA! post)
I was under the impression they were going to rotate...
|
Best Regards, Techknow http://myinternetfunnies.com |
Edited by - techknow on 18 September 2003 20:56:48 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 18 September 2003 : 20:54:09
|
Case 1 is fine. |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
techknow
Junior Member
USA
149 Posts |
Posted - 18 September 2003 : 21:11:16
|
No prob! I find that many people laugh at me.
Now if I could only figure out why...
Oh yeah, just for the record I know the banners are ugly, they were just floating around on my hdd and are for testing... |
Best Regards, Techknow http://myinternetfunnies.com |
Edited by - techknow on 18 September 2003 21:13:29 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 18 September 2003 : 21:18:03
|
You changed Case 2 to look like this:
<CASE "2"%>
it needs to look like this:
<%CASE "2"%> |
|
|
techknow
Junior Member
USA
149 Posts |
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 19 September 2003 : 03:07:52
|
lol :) funny thread
all working now ? |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
techknow
Junior Member
USA
149 Posts |
Posted - 19 September 2003 : 19:37:03
|
Yup I got it working... Ya know; in my defense (*ahem*) the readme file needs a little polishing... Next mission... Avatars
I'm ready! |
Best Regards, Techknow http://myinternetfunnies.com |
Edited by - techknow on 19 September 2003 19:40:34 |
|
|
richfed
Average Member
United States
999 Posts |
|
Topic |
|